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

12 lines
139 B
Rust
Raw Normal View History

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