summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-44406.rs
blob: a5b7e83a016223848f319673aea1dacefdf8ce17 (plain)
1
2
3
4
5
6
7
8
9
10
macro_rules! foo {
    ($rest: tt) => {
        bar(baz: $rest) //~ ERROR invalid `struct` delimiters or `fn` call arguments
    }
}

fn main() {
    foo!(true);
    //~^ ERROR expected identifier, found keyword
}