rust/tests/ui/macros/bang-after-name.rs
2023-01-11 09:32:08 +00:00

9 lines
137 B
Rust

// run-rustfix
#[allow(unused_macros)]
macro_rules! foo! { //~ ERROR macro names aren't followed by a `!`
() => {};
}
fn main() {}