summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-68987-unmatch-issue-1.rs
blob: 30e7ef467368a0b5b6398a613535b100959845e5 (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) => {}   // Extra '}'
            let _ = if true {};
        }
        None => {}
    }
} //~ ERROR unexpected closing delimiter

fn main() {}