]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/macro/issue-33569.rs
Rollup merge of #91150 - dtolnay:qpath, r=davidtwco
[rust.git] / src / test / ui / parser / macro / issue-33569.rs
1 macro_rules! foo {
2     { $+ } => { //~ ERROR expected identifier, found `+`
3                 //~^ ERROR missing fragment specifier
4         $(x)(y) //~ ERROR expected one of: `*`, `+`, or `?`
5     }
6 }
7
8 foo!();
9
10 fn main() {}