]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/missing-bang-in-decl.rs
Merge commit 'a8385522ade6f67853edac730b5bf164ddb298fd' into simd-remove-autosplats
[rust.git] / src / test / 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() {}