2018-10-30 20:36:52 +00:00
|
|
|
error: some ranges overlap
|
2022-10-20 14:39:27 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:12:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +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: overlaps with this
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:14:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +00:00
|
|
|
LL | 0..=11 => println!("0..=11"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^^
|
2022-09-22 16:04:22 +00:00
|
|
|
= note: `-D clippy::match-overlapping-arm` implied by `-D warnings`
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:19:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +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
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:22:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +00:00
|
|
|
LL | FOO..=11 => println!("FOO..=11"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:57:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +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
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:59:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +00:00
|
|
|
LL | 0..=11 => println!("0..=11"),
|
2021-02-03 04:43:30 +00:00
|
|
|
| ^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:83:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +00:00
|
|
|
LL | 0..=10 => println!("0..=10"),
|
2021-02-03 04:43:30 +00:00
|
|
|
| ^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:82:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +00:00
|
|
|
LL | 5..14 => println!("5..14"),
|
2021-02-03 04:43:30 +00:00
|
|
|
| ^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:89:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +00:00
|
|
|
LL | 0..7 => println!("0..7"),
|
2021-02-03 04:43:30 +00:00
|
|
|
| ^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:91:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2021-10-21 11:11:36 +00:00
|
|
|
LL | 0..=10 => println!("0..=10"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
2021-10-21 11:11:36 +00:00
|
|
|
error: some ranges overlap
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:102:9
|
2021-10-21 11:11:36 +00:00
|
|
|
|
|
|
|
|
LL | ..=23 => println!("..=23"),
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:104:9
|
2021-10-21 11:11:36 +00:00
|
|
|
|
|
|
|
|
LL | ..26 => println!("..26"),
|
|
|
|
| ^^^^
|
|
|
|
|
2021-12-06 11:33:31 +00:00
|
|
|
error: some ranges overlap
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:112:9
|
2021-12-06 11:33:31 +00:00
|
|
|
|
|
|
|
|
LL | 21..=30 => (),
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:114:9
|
2021-12-06 11:33:31 +00:00
|
|
|
|
|
|
|
|
LL | 21..=40 => (),
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: some ranges overlap
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:127:9
|
2021-12-06 11:33:31 +00:00
|
|
|
|
|
|
|
|
LL | 0..=0x0000_0000_0000_00ff => (),
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:129:9
|
2021-12-06 11:33:31 +00:00
|
|
|
|
|
|
|
|
LL | 0..=0x0000_0000_0000_ffff => (),
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
2018-10-30 20:36:52 +00:00
|
|
|
|