mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 00:47:16 +00:00
63 lines
1.5 KiB
Text
63 lines
1.5 KiB
Text
error: some ranges overlap
|
|
--> $DIR/match_overlapping_arm.rs:13:9
|
|
|
|
|
LL | 0..=10 => println!("0 ... 10"),
|
|
| ^^^^^^
|
|
|
|
|
= note: `-D clippy::match-overlapping-arm` implied by `-D warnings`
|
|
note: overlaps with this
|
|
--> $DIR/match_overlapping_arm.rs:14:9
|
|
|
|
|
LL | 0..=11 => println!("0 ... 11"),
|
|
| ^^^^^^
|
|
|
|
error: some ranges overlap
|
|
--> $DIR/match_overlapping_arm.rs:19:9
|
|
|
|
|
LL | 0..=5 => println!("0 ... 5"),
|
|
| ^^^^^
|
|
|
|
|
note: overlaps with this
|
|
--> $DIR/match_overlapping_arm.rs:21:9
|
|
|
|
|
LL | FOO..=11 => println!("0 ... 11"),
|
|
| ^^^^^^^^
|
|
|
|
error: some ranges overlap
|
|
--> $DIR/match_overlapping_arm.rs:56:9
|
|
|
|
|
LL | 0..11 => println!("0 .. 11"),
|
|
| ^^^^^
|
|
|
|
|
note: overlaps with this
|
|
--> $DIR/match_overlapping_arm.rs:57:9
|
|
|
|
|
LL | 0..=11 => println!("0 ... 11"),
|
|
| ^^^^^^
|
|
|
|
error: some ranges overlap
|
|
--> $DIR/match_overlapping_arm.rs:81:9
|
|
|
|
|
LL | 0..=10 => println!("0 ... 10"),
|
|
| ^^^^^^
|
|
|
|
|
note: overlaps with this
|
|
--> $DIR/match_overlapping_arm.rs:80:9
|
|
|
|
|
LL | 5..14 => println!("5 .. 14"),
|
|
| ^^^^^
|
|
|
|
error: some ranges overlap
|
|
--> $DIR/match_overlapping_arm.rs:86:9
|
|
|
|
|
LL | 0..7 => println!("0 .. 7"),
|
|
| ^^^^
|
|
|
|
|
note: overlaps with this
|
|
--> $DIR/match_overlapping_arm.rs:87:9
|
|
|
|
|
LL | 0..=10 => println!("0 ... 10"),
|
|
| ^^^^^^
|
|
|
|
error: aborting due to 5 previous errors
|
|
|