summaryrefslogtreecommitdiffstats
path: root/tests/ui/half-open-range-patterns/pat-tuple-5.rs
blob: 995ef03c83ed7c3d3eb307b139d14cb2a947be96 (plain)
1
2
3
4
5
6
7
8
9
#![feature(exclusive_range_pattern)]

fn main() {
    const PAT: u8 = 1;

    match (0, 1) {
        (PAT ..) => {} //~ ERROR mismatched types
    }
}