summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/issue-54441.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/macros/issue-54441.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/macros/issue-54441.stderr b/src/test/ui/macros/issue-54441.stderr
new file mode 100644
index 000000000..bbbca211b
--- /dev/null
+++ b/src/test/ui/macros/issue-54441.stderr
@@ -0,0 +1,13 @@
+error: macro expansion ignores token `let` and any following
+ --> $DIR/issue-54441.rs:3:9
+ |
+LL | let
+ | ^^^
+...
+LL | m!();
+ | ---- caused by the macro expansion here
+ |
+ = note: the usage of `m!` is likely invalid in foreign item context
+
+error: aborting due to previous error
+