summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-54441.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/issue-54441.stderr')
-rw-r--r--tests/ui/macros/issue-54441.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/macros/issue-54441.stderr b/tests/ui/macros/issue-54441.stderr
new file mode 100644
index 000000000..bbbca211b
--- /dev/null
+++ b/tests/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
+