]> git.proxmox.com Git - rustc.git/blame - src/test/ui/macros/macro-match-nonterminal.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / macros / macro-match-nonterminal.rs
CommitLineData
ba9703b0
XL
1macro_rules! test {
2 ($a, $b) => {
3 //~^ ERROR missing fragment
4 //~| ERROR missing fragment
04454e1e
FG
5 //~| ERROR missing fragment
6 //~| WARN this was previously accepted
b9856134 7 //~| WARN this was previously accepted
ba9703b0
XL
8 ()
9 };
10}
223e47cc
LB
11
12fn main() {
1a4d82fc 13 test!()
223e47cc 14}