summaryrefslogtreecommitdiffstats
path: root/tests/ui/or-patterns/issue-69875-should-have-been-expanded-earlier.rs
blob: 408ac24f39a49037372aa92e8aa0d254259f8756 (plain)
1
2
3
4
5
6
7
// check-pass

fn main() {
    let (0 | (1 | _)) = 0;
    if let 0 | (1 | 2) = 0 {}
    if let x @ 0 | x @ (1 | 2) = 0 {}
}