about summary refs log tree commit diff
path: root/src/test/ui/macros/macro-match-nonterminal.rs
blob: b23e5c71c03f06e29245481dbfa775b0b3c57874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
macro_rules! test {
    ($a, $b) => {
        //~^ ERROR missing fragment
        //~| ERROR missing fragment
        //~| WARN this was previously accepted
        ()
    };
}

fn main() {
    test!()
}