rust/tests/ui/parser/issues/issue-108242-semicolon-recovery.rs

6 lines
85 B
Rust
Raw Normal View History

fn foo() {}
fn main() {
foo(;
foo(;
} //~ ERROR mismatched closing delimiter