2018-10-30 20:36:52 +00:00
|
|
|
error: some ranges overlap
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:13:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2019-06-01 05:54:47 +00:00
|
|
|
LL | 0..=10 => println!("0 ... 10"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::match-overlapping-arm` implied by `-D warnings`
|
|
|
|
note: overlaps with this
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:14:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2019-06-01 05:54:47 +00:00
|
|
|
LL | 0..=11 => println!("0 ... 11"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:19:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2019-06-01 05:54:47 +00:00
|
|
|
LL | 0..=5 => println!("0 ... 5"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:21:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2019-06-01 05:54:47 +00:00
|
|
|
LL | FOO..=11 => println!("0 ... 11"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:56:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-02-03 04:43:30 +00:00
|
|
|
LL | 0..11 => println!("0 .. 11"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:57:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-02-03 04:43:30 +00:00
|
|
|
LL | 0..=11 => println!("0 ... 11"),
|
|
|
|
| ^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:81:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-02-03 04:43:30 +00:00
|
|
|
LL | 0..=10 => println!("0 ... 10"),
|
|
|
|
| ^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:80:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-02-03 04:43:30 +00:00
|
|
|
LL | 5..14 => println!("5 .. 14"),
|
|
|
|
| ^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:86:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-02-03 04:43:30 +00:00
|
|
|
LL | 0..7 => println!("0 .. 7"),
|
|
|
|
| ^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2021-08-08 14:49:13 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:87:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-02-03 04:43:30 +00:00
|
|
|
LL | 0..=10 => println!("0 ... 10"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
2020-01-11 18:05:47 +00:00
|
|
|
error: aborting due to 5 previous errors
|
2018-10-30 20:36:52 +00:00
|
|
|
|