@@ -8,10 +8,6 @@ LL | [..9, 99..100, _] => {},
8
8
|
9
9
= note: expected struct `std::ops::Range<{integer}>`
10
10
found type `{integer}`
11
- help: you might have meant to use field `start` whose type is `{integer}`
12
- |
13
- LL | match [5..4, 99..105, 43..44].start {
14
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
11
16
12
error[E0308]: mismatched types
17
13
--> $DIR/exclusive_range_pattern_syntax_collision3.rs:6:15
@@ -25,10 +21,6 @@ LL | [..9, 99..100, _] => {},
25
21
|
26
22
= note: expected struct `std::ops::Range<{integer}>`
27
23
found type `{integer}`
28
- help: you might have meant to use field `start` whose type is `{integer}`
29
- |
30
- LL | match [5..4, 99..105, 43..44].start {
31
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32
24
33
25
error[E0308]: mismatched types
34
26
--> $DIR/exclusive_range_pattern_syntax_collision3.rs:6:19
@@ -42,10 +34,6 @@ LL | [..9, 99..100, _] => {},
42
34
|
43
35
= note: expected struct `std::ops::Range<{integer}>`
44
36
found type `{integer}`
45
- help: you might have meant to use field `start` whose type is `{integer}`
46
- |
47
- LL | match [5..4, 99..105, 43..44].start {
48
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49
37
50
38
error: aborting due to 3 previous errors
51
39
0 commit comments