rust/tests/ui/parser/issues/issue-68987-unmatch-issue-1.rs
Esteban Küber 855444ec54 mv tests
2023-10-24 21:27:05 +00:00

13 lines
248 B
Rust

// This file has unexpected closing delimiter,
fn func(o: Option<u32>) {
match o {
Some(_x) => {} // Extra '}'
let _ = if true {};
}
None => {}
}
} //~ ERROR unexpected closing delimiter
fn main() {}