aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/unexpected-arg.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unexpected-arg.stderr')
-rw-r--r--tests/ui/unexpected-arg.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/unexpected-arg.stderr b/tests/ui/unexpected-arg.stderr
new file mode 100644
index 0000000..6895e82
--- /dev/null
+++ b/tests/ui/unexpected-arg.stderr
@@ -0,0 +1,5 @@
+error: unexpected argument to proc_macro_hack macro implementation; args are only accepted on the macro declaration (the `pub use`)
+ --> $DIR/unexpected-arg.rs:3:19
+ |
+3 | #[proc_macro_hack(fake_call_site)]
+ | ^^^^^^^^^^^^^^