diff options
Diffstat (limited to 'vendor/proc-macro-hack/tests/ui/unexpected-arg.rs')
-rw-r--r-- | vendor/proc-macro-hack/tests/ui/unexpected-arg.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/proc-macro-hack/tests/ui/unexpected-arg.rs b/vendor/proc-macro-hack/tests/ui/unexpected-arg.rs new file mode 100644 index 000000000..376fc0d98 --- /dev/null +++ b/vendor/proc-macro-hack/tests/ui/unexpected-arg.rs @@ -0,0 +1,8 @@ +use proc_macro_hack::proc_macro_hack; + +#[proc_macro_hack(fake_call_site)] +pub fn my_macro(input: TokenStream) -> TokenStream { + unimplemented!() +} + +fn main() {} |