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

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

12 lines
139 B
Rust
Raw Normal View History

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