summary refs log tree commit diff
path: root/src/test/ui/parser/pat-tuple-5.rs
blob: 5334ef93bb3bd1e6c8be8505893dd3bb1065d7fd (plain)
1
2
3
4
5
6
7
8
9
10
fn main() {
    const PAT: u8 = 0;

    match (0, 1) {
        (PAT ..) => {}
        //~^ ERROR `X..` range patterns are not supported
        //~| ERROR exclusive range pattern syntax is experimental
        //~| ERROR mismatched types
    }
}