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

fn main() {
    foo!(true);
}