]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-in-expression-context-2.rs
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[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 }