blob: 8393f15fc52f4ae9bac2668476445704fd5659c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// run-rustfix
#![allow(unused_macros)]
macro_rules foo {
//~^ ERROR expected `!` after `macro_rules`
() => {};
}
macro_rules bar! {
//~^ ERROR expected `!` after `macro_rules`
//~^^ ERROR macro names aren't followed by a `!`
() => {};
}
fn main() {}
|