rust/tests/ui/macros/missing-semi.rs

12 lines
139 B
Rust

#[allow(unused_macros)]
macro_rules! foo {
() => {
}
() => {
//~^ ERROR expected `;`, found `(`
}
}
fn main() {}