a7813a04 |
1 | fn main() { |
416331ca XL |
2 | const PAT: u8 = 0; |
3 | |
532ac7d7 |
4 | match (0, 1) { |
416331ca XL |
5 | (PAT ..) => {} |
6 | //~^ ERROR `X..` range patterns are not supported |
7 | //~| ERROR exclusive range pattern syntax is experimental |
8 | //~| ERROR mismatched types |
54a0048b SL |
9 | } |
10 | } |