2018-10-30 15:36:52 -05:00
|
|
|
error: some ranges overlap
|
2020-01-11 04:39:43 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:12:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2019-06-01 00:54:47 -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
|
2020-01-11 04:39:43 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:13:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2019-06-01 00:54:47 -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
|
2020-01-11 04:39:43 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:18:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2019-06-01 00:54:47 -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
|
2020-01-11 04:39:43 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:20:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2019-06-01 00:54:47 -05:00
|
|
|
LL | FOO..=11 => println!("0 ... 11"),
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2020-01-11 04:39:43 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:55:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06: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
|
2020-01-11 04:39:43 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:56:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2019-06-01 00:54:47 -05:00
|
|
|
LL | 0..=11 => println!("0 ... 11"),
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
2021-01-24 05:28:59 -06:00
|
|
|
error: some ranges overlap
|
|
|
|
--> $DIR/match_overlapping_arm.rs:80:9
|
|
|
|
|
|
|
|
|
LL | 0..=10 => println!("0 ... 10"),
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
|
|
|
--> $DIR/match_overlapping_arm.rs:79:9
|
|
|
|
|
|
|
|
|
LL | 5..14 => println!("5 .. 14"),
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: some ranges overlap
|
|
|
|
--> $DIR/match_overlapping_arm.rs:85:9
|
|
|
|
|
|
|
|
|
LL | 0..7 => println!("0 .. 7"),
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
|
|
|
--> $DIR/match_overlapping_arm.rs:86:9
|
|
|
|
|
|
|
|
|
LL | 0..=10 => println!("0 ... 10"),
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2018-10-30 15:36:52 -05:00
|
|
|
|