@@ -11,7 +11,7 @@ note: the lint level is defined here
11
11
|
12
12
LL | #![deny(overlapping_range_endpoints)]
13
13
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
- = note: this is likely to be a mistake
14
+ = note: you likely meant to write mutually exclusive ranges
15
15
16
16
error: multiple patterns overlap on their endpoints
17
17
--> $DIR/overlapping_range_endpoints.rs:16:22
@@ -21,7 +21,7 @@ LL | m!(0u8, 30..=40, 20..=30);
21
21
| |
22
22
| this range overlaps on `30_u8`...
23
23
|
24
- = note: this is likely to be a mistake
24
+ = note: you likely meant to write mutually exclusive ranges
25
25
26
26
error: multiple patterns overlap on their endpoints
27
27
--> $DIR/overlapping_range_endpoints.rs:19:22
@@ -31,7 +31,7 @@ LL | m!(0u8, 20.. 30, 29..=40);
31
31
| |
32
32
| this range overlaps on `29_u8`...
33
33
|
34
- = note: this is likely to be a mistake
34
+ = note: you likely meant to write mutually exclusive ranges
35
35
36
36
error: multiple patterns overlap on their endpoints
37
37
--> $DIR/overlapping_range_endpoints.rs:23:22
@@ -41,7 +41,7 @@ LL | m!(0u8, 20..=30, 30..=31);
41
41
| |
42
42
| this range overlaps on `30_u8`...
43
43
|
44
- = note: this is likely to be a mistake
44
+ = note: you likely meant to write mutually exclusive ranges
45
45
46
46
error: multiple patterns overlap on their endpoints
47
47
--> $DIR/overlapping_range_endpoints.rs:27:22
@@ -51,7 +51,7 @@ LL | m!(0u8, 20..=30, 19..=20);
51
51
| |
52
52
| this range overlaps on `20_u8`...
53
53
|
54
- = note: this is likely to be a mistake
54
+ = note: you likely meant to write mutually exclusive ranges
55
55
56
56
error: multiple patterns overlap on their endpoints
57
57
--> $DIR/overlapping_range_endpoints.rs:39:9
@@ -63,7 +63,7 @@ LL | 20..=30 => {}
63
63
LL | 10..=20 => {}
64
64
| ^^^^^^^ ... with this range
65
65
|
66
- = note: this is likely to be a mistake
66
+ = note: you likely meant to write mutually exclusive ranges
67
67
68
68
error: multiple patterns overlap on their endpoints
69
69
--> $DIR/overlapping_range_endpoints.rs:50:16
@@ -73,7 +73,7 @@ LL | (true, 0..=10) => {}
73
73
LL | (true, 10..20) => {}
74
74
| ^^^^^^ ... with this range
75
75
|
76
- = note: this is likely to be a mistake
76
+ = note: you likely meant to write mutually exclusive ranges
77
77
78
78
error: multiple patterns overlap on their endpoints
79
79
--> $DIR/overlapping_range_endpoints.rs:56:14
@@ -83,7 +83,7 @@ LL | Some(0..=10) => {}
83
83
LL | Some(10..20) => {}
84
84
| ^^^^^^ ... with this range
85
85
|
86
- = note: this is likely to be a mistake
86
+ = note: you likely meant to write mutually exclusive ranges
87
87
88
88
error: aborting due to 8 previous errors
89
89
0 commit comments