]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-match-nonterminal.rs
Rollup merge of #95426 - b-naber:valtrees-slice, r=RalfJung,oli-obk
[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         //~| ERROR missing fragment
6         //~| WARN this was previously accepted
7         //~| WARN this was previously accepted
8         ()
9     };
10 }
11
12 fn main() {
13     test!()
14 }