1 error: `X..` range patterns are not supported
2 --> $DIR/exclusive_range_pattern_syntax_collision.rs:5:13
4 LL | [_, 99.., _] => {},
5 | ^^^^ help: try using the maximum value for the type: `99..MAX`
7 error[E0308]: mismatched types
8 --> $DIR/exclusive_range_pattern_syntax_collision.rs:5:13
10 LL | match [5..4, 99..105, 43..44] {
11 | ----------------------- this match expression has type `std::ops::Range<{integer}>`
12 LL | [_, 99.., _] => {},
13 | ^^^^ expected struct `std::ops::Range`, found integer
15 = note: expected type `std::ops::Range<{integer}>`
16 found type `{integer}`
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0308`.