]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/missing-bang-in-decl.rs
Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco
[rust.git] / tests / ui / macros / missing-bang-in-decl.rs
1 // run-rustfix
2
3 #![allow(unused_macros)]
4
5 macro_rules foo {
6     //~^ ERROR expected `!` after `macro_rules`
7     () => {};
8 }
9
10 macro_rules bar! {
11     //~^ ERROR expected `!` after `macro_rules`
12     //~^^ ERROR macro names aren't followed by a `!`
13     () => {};
14 }
15
16 fn main() {}