]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issue-68987-unmatch-issue.rs
Rollup merge of #107413 - tshepang:pleasant-readin, r=Nilstrieb
[rust.git] / tests / ui / parser / issue-68987-unmatch-issue.rs
1 // This file has unexpected closing delimiter,
2
3 fn func(o: Option<u32>) {
4     match o {
5         Some(_x) =>   // Missing '{'
6             let _ = if true {};
7         }
8         None => {}
9     }
10 } //~ ERROR unexpected closing delimiter
11
12 fn main() {}