summaryrefslogtreecommitdiffstats
path: root/third_party/rust/proc-macro-hack/tests/ui/unexpected-arg.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/proc-macro-hack/tests/ui/unexpected-arg.stderr')
-rw-r--r--third_party/rust/proc-macro-hack/tests/ui/unexpected-arg.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/rust/proc-macro-hack/tests/ui/unexpected-arg.stderr b/third_party/rust/proc-macro-hack/tests/ui/unexpected-arg.stderr
new file mode 100644
index 0000000000..f32f05a1cd
--- /dev/null
+++ b/third_party/rust/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`)
+ --> tests/ui/unexpected-arg.rs:3:19
+ |
+3 | #[proc_macro_hack(fake_call_site)]
+ | ^^^^^^^^^^^^^^