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