@@ -8,7 +8,7 @@ error[E0308]: mismatched types
88 --> $DIR/exclusive_range_pattern_syntax_collision3.rs:5:12
99 |
1010LL | match [5..4, 99..105, 43..44] {
11- | ----------------------- this expression has type `std::ops::Range<{integer}>`
11+ | ----------------------- this expression has type `[ std::ops::Range<{integer}>; 3] `
1212LL | [..9, 99..100, _] => {},
1313 | ^ expected struct `std::ops::Range`, found integer
1414 |
@@ -19,7 +19,7 @@ error[E0308]: mismatched types
1919 --> $DIR/exclusive_range_pattern_syntax_collision3.rs:5:15
2020 |
2121LL | match [5..4, 99..105, 43..44] {
22- | ----------------------- this expression has type `std::ops::Range<{integer}>`
22+ | ----------------------- this expression has type `[ std::ops::Range<{integer}>; 3] `
2323LL | [..9, 99..100, _] => {},
2424 | ^^ --- this is of type `{integer}`
2525 | |
@@ -32,7 +32,7 @@ error[E0308]: mismatched types
3232 --> $DIR/exclusive_range_pattern_syntax_collision3.rs:5:19
3333 |
3434LL | match [5..4, 99..105, 43..44] {
35- | ----------------------- this match expression has type `std::ops::Range<{integer}>`
35+ | ----------------------- this expression has type `[ std::ops::Range<{integer}>; 3] `
3636LL | [..9, 99..100, _] => {},
3737 | -- ^^^ expected struct `std::ops::Range`, found integer
3838 | |
0 commit comments