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