]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/macros/issue-54441.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / macros / issue-54441.stderr
index b0fafdc3b6326b828474f37791ecc8aa10b69e22..bbbca211b8d173c5cbcebb7e782d5d9167765859 100644 (file)
@@ -1,11 +1,13 @@
-error: expected one of `crate`, `fn`, `pub`, `static`, or `type`, found `let`
-  --> $DIR/issue-54441.rs:5:9
+error: macro expansion ignores token `let` and any following
+  --> $DIR/issue-54441.rs:3:9
    |
 LL |         let
-   |         ^^^ unexpected token
+   |         ^^^
 ...
 LL |     m!();
-   |     ----- in this macro invocation
+   |     ---- caused by the macro expansion here
+   |
+   = note: the usage of `m!` is likely invalid in foreign item context
 
 error: aborting due to previous error