]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-match-nonterminal.rs
Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree
[rust.git] / src / test / ui / macros / macro-match-nonterminal.rs
1 macro_rules! test {
2     ($a, $b) => {
3         //~^ ERROR missing fragment
4         //~| ERROR missing fragment
5         //~| WARN this was previously accepted
6         ()
7     };
8 }
9
10 fn main() {
11     test!()
12 }