blob: b7e4924445090f2a7b2df19df2bb2bd6f7b7477d (
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() {}
|