]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-in-expression-context-2.rs
Rollup merge of #106783 - WaffleLapkin:break-my-ident, r=wesleywiser
[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 }