summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-68987-unmatch-issue.rs
blob: 5a3620bf24bd4bbf23eb734793a45ed26e1c8014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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() {}