rust/tests/ui/macros/bang-after-name.rs
2024-02-16 20:02:50 +00:00

9 lines
138 B
Rust

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