]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/empty-trailing-stmt.rs
Rollup merge of #106973 - oli-obk:tait_ice_closure_in_impl_header, r=lcnr
[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() {}