commit | b0dbc7637be15ee10fab9306685e0d71cf20a76c | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Wed Oct 28 22:33:04 2020 -0700 |
committer | Haibo Huang <hhb@google.com> | Wed Oct 28 22:33:04 2020 -0700 |
tree | a4cc72b6549946f213f519a74047c500a6da8d10 | |
parent | 01d450bf111715e8ad26bb0e3cec6b2dcbb88ce1 [diff] [blame] |
Upgrade rust/crates/proc-macro-hack to 0.5.19 Test: make Change-Id: I3ca9b7f663f7fa6b81473e30e37940593c0c4af9
diff --git a/tests/ui/unexpected-arg.rs b/tests/ui/unexpected-arg.rs new file mode 100644 index 0000000..376fc0d --- /dev/null +++ b/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() {}