1 error[E0308]: mismatched types
2 --> $DIR/exclusive_range_pattern_syntax_collision.rs:6:13
4 LL | match [5..4, 99..105, 43..44] {
5 | ----------------------- this expression has type `[std::ops::Range<{integer}>; 3]`
6 LL | [_, 99.., _] => {},
7 | ^^ expected struct `std::ops::Range`, found integer
9 = note: expected struct `std::ops::Range<{integer}>`
10 found type `{integer}`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.