rust/tests/ui/parser/issues/issue-68987-unmatch-issue.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
247 B
Rust
Raw Normal View History

2023-01-25 20:52:57 -06:00
// 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() {}