rust/tests/ui/macros/bang-after-name.fixed

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
137 B
Rust
Raw Normal View History

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