]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-in-expression-context-2.rs
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[rust.git] / src / test / 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 }