diff options
Diffstat (limited to 'src/test/ui/parser/macro/trait-non-item-macros.rs')
-rw-r--r-- | src/test/ui/parser/macro/trait-non-item-macros.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/parser/macro/trait-non-item-macros.rs b/src/test/ui/parser/macro/trait-non-item-macros.rs deleted file mode 100644 index 97fb564bf..000000000 --- a/src/test/ui/parser/macro/trait-non-item-macros.rs +++ /dev/null @@ -1,13 +0,0 @@ -macro_rules! bah { - ($a:expr) => { - $a - }; //~^ ERROR macro expansion ignores token `2` and any following -} - -trait Bar { - bah!(2); -} - -fn main() { - let _recovery_witness: () = 0; //~ ERROR mismatched types -} |