]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-26094.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-26094.rs
index 78fb0491d82ddd6a548d50f4fc9d66134814a1f8..981c3abb4bae0379ab83f451f423d7f18823b389 100644 (file)
@@ -1,6 +1,6 @@
 macro_rules! some_macro {
     ($other: expr) => ({
-        $other(None) //~ NOTE supplied 1 argument
+        $other(None) //~ NOTE argument unexpected
     })
 }
 
@@ -9,5 +9,5 @@ fn some_function() {} //~ NOTE defined here
 fn main() {
     some_macro!(some_function);
     //~^ ERROR this function takes 0 arguments but 1 argument was supplied
-    //~| NOTE expected 0 arguments
+    //~| NOTE in this expansion of some_macro!
 }