]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/empty-trailing-stmt.rs
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[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() {}