rust/tests/ui/parser/macros-no-semicolon-items.rs

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

16 lines
215 B
Rust
Raw Normal View History

macro_rules! foo() //~ ERROR semicolon
//~| ERROR unexpected end of macro
macro_rules! bar {
($($tokens:tt)*) => {}
}
bar!( //~ ERROR semicolon
blah
blah
blah
)
fn main() {
}