]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-match-nonterminal.rs
Auto merge of #94609 - esp-rs:esp-idf-stat-type-fixes, r=Mark-Simulacrum
[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 }