2018-10-30 20:36:52 +00:00
|
|
|
error: some ranges overlap
|
2020-01-11 10:39:43 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:12: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
|
2020-01-11 10:39:43 +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..=11 => println!("0 ... 11"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
error: some ranges overlap
|
2020-01-11 10:39:43 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:18: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
|
2020-01-11 10:39:43 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:20: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
|
2020-01-11 10:39:43 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:26: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
|
2020-01-11 10:39:43 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:25:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | 2 => println!("2"),
|
2018-10-30 20:36:52 +00:00
|
|
|
| ^
|
|
|
|
|
|
|
|
error: some ranges overlap
|
2020-01-11 10:39:43 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:32:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2019-06-01 05:54:47 +00:00
|
|
|
LL | 0..=2 => println!("0 ... 2"),
|
2018-12-10 05:27:19 +00:00
|
|
|
| ^^^^^
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2020-01-11 10:39:43 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:31:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | 2 => println!("2"),
|
2018-10-30 20:36:52 +00:00
|
|
|
| ^
|
|
|
|
|
|
|
|
error: some ranges overlap
|
2020-01-11 10:39:43 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:55:9
|
2018-10-30 20:36:52 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +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
|
2020-01-11 10:39:43 +00:00
|
|
|
--> $DIR/match_overlapping_arm.rs:56: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
|
|
|
|
2020-01-11 10:39:43 +00:00
|
|
|
error: some ranges overlap
|
|
|
|
--> $DIR/match_overlapping_arm.rs:61:9
|
|
|
|
|
|
|
|
|
LL | 0.. => println!("0 .. 42"),
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
|
|
|
--> $DIR/match_overlapping_arm.rs:62:9
|
|
|
|
|
|
|
|
|
LL | 3.. => println!("3 .. 42"),
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error: some ranges overlap
|
|
|
|
--> $DIR/match_overlapping_arm.rs:67:9
|
|
|
|
|
|
|
|
|
LL | ..=23 => println!("0 ... 23"),
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
note: overlaps with this
|
|
|
|
--> $DIR/match_overlapping_arm.rs:68:9
|
|
|
|
|
|
|
|
|
LL | ..26 => println!("0 .. 26"),
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
2018-10-30 20:36:52 +00:00
|
|
|
|