]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/empty-trailing-stmt.rs
Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726
[rust.git] / tests / ui / macros / empty-trailing-stmt.rs
1 macro_rules! empty {
2     () => { }
3 }
4
5 fn foo() -> bool { //~ ERROR mismatched
6     { true } //~ ERROR mismatched
7     empty!();
8 }
9
10 fn main() {}