2018-10-30 15:36:52 -05:00
|
|
|
error: some ranges overlap
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:13:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | 0..=10 => println!("0..=10"),
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::match-overlapping-arm` implied by `-D warnings`
|
|
|
|
note: overlaps with this
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:14:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | 0..=11 => println!("0..=11"),
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:19:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | 0..=5 => println!("0..=5"),
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:21:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | FOO..=11 => println!("FOO..=11"),
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:56:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | 0..11 => println!("0..11"),
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:57:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | 0..=11 => println!("0..=11"),
|
2021-02-02 22:43:30 -06:00
|
|
|
| ^^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:81:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | 0..=10 => println!("0..=10"),
|
2021-02-02 22:43:30 -06:00
|
|
|
| ^^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:80:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | 5..14 => println!("5..14"),
|
2021-02-02 22:43:30 -06:00
|
|
|
| ^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:86:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | 0..7 => println!("0..7"),
|
2021-02-02 22:43:30 -06:00
|
|
|
| ^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2021-08-08 09:49:13 -05:00
|
|
|
--> $DIR/match_overlapping_arm.rs:87:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2021-10-14 23:20:28 -05:00
|
|
|
LL | 0..=10 => println!("0..=10"),
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
2021-10-14 23:25:11 -05:00
|
|
|
error: some ranges overlap
|
|
|
|
--> $DIR/match_overlapping_arm.rs:98:9
|
|
|
|
|
|
|
|
|
LL | ..=23 => println!("..=23"),
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
|
|
|
--> $DIR/match_overlapping_arm.rs:99:9
|
|
|
|
|
|
|
|
|
LL | ..26 => println!("..26"),
|
|
|
|
| ^^^^
|
|
|
|
|
2021-10-31 23:12:43 -05:00
|
|
|
error: some ranges overlap
|
|
|
|
--> $DIR/match_overlapping_arm.rs:107:9
|
|
|
|
|
|
|
|
|
LL | 21..=30 => (),
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
|
|
|
--> $DIR/match_overlapping_arm.rs:108:9
|
|
|
|
|
|
|
|
|
LL | 21..=40 => (),
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2021-10-31 23:12:43 -05:00
|
|
|
error: some ranges overlap
|
|
|
|
--> $DIR/match_overlapping_arm.rs:121:9
|
|
|
|
|
|
|
|
|
LL | 0..=0x0000_0000_0000_00ff => (),
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
|
|
|
--> $DIR/match_overlapping_arm.rs:122:9
|
|
|
|
|
|
|
|
|
LL | 0..=0x0000_0000_0000_ffff => (),
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
2018-10-30 15:36:52 -05:00
|
|
|
|