about summary refs log tree commit diff
path: root/tests/ui/half-open-range-patterns/pat-tuple-5.rs
blob: 4ed43954e0294adfe620a6367ffab63ecbcdbf1e (plain)
1
2
3
4
5
6
7
fn main() {
    const PAT: u8 = 1;

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