summaryrefslogtreecommitdiffstats
path: root/vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr')
-rw-r--r--vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr b/vendor/proc-macro-hack/tests/ui/unexpected-arg.stderr
new file mode 100644
index 000000000..6895e82ee
--- /dev/null
+++ b/vendor/proc-macro-hack/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)]
+ | ^^^^^^^^^^^^^^