]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/empty-trailing-stmt.rs
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[rust.git] / src / test / 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() {}