]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-in-expression-context-2.rs
Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnr
[rust.git] / tests / ui / macros / macro-in-expression-context-2.rs
1 macro_rules! empty { () => () }
2
3 fn main() {
4     match 42 {
5         _ => { empty!() }
6 //~^ ERROR macro expansion ends with an incomplete expression
7     };
8 }