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

6 lines
85 B
Rust

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