1 error[E0527]: pattern requires 2 elements but array has 3
2 --> $DIR/exclusive_range_pattern_syntax_collision2.rs:6:9
5 | ^^^^^^^^^ expected 3 elements
7 error[E0308]: mismatched types
8 --> $DIR/exclusive_range_pattern_syntax_collision2.rs:6:13
10 LL | match [5..4, 99..105, 43..44] {
11 | ----------------------- this expression has type `[std::ops::Range<{integer}>; 3]`
13 | ^^ expected struct `Range`, found integer
15 = note: expected struct `std::ops::Range<{integer}>`
16 found type `{integer}`
18 error: aborting due to 2 previous errors
20 Some errors have detailed explanations: E0308, E0527.
21 For more information about an error, try `rustc --explain E0308`.