mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
11 lines
142 B
Rust
11 lines
142 B
Rust
|
macro_rules! empty {
|
||
|
() => { }
|
||
|
}
|
||
|
|
||
|
fn foo() -> bool { //~ ERROR mismatched
|
||
|
{ true } //~ ERROR mismatched
|
||
|
empty!();
|
||
|
}
|
||
|
|
||
|
fn main() {}
|