rust/tests/ui/parser/issue-68987-unmatch-issue.rs
2023-01-26 10:52:57 +08:00

13 lines
247 B
Rust

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