rust-clippy/tests/ui/match_overlapping_arm.stderr

64 lines
1.4 KiB
Text
Raw Normal View History

error: some ranges overlap
--> $DIR/match_overlapping_arm.rs:20:9
|
2018-12-10 05:27:19 +00:00
20 | 0...10 => println!("0 ... 10"),
| ^^^^^^
|
= note: `-D clippy::match-overlapping-arm` implied by `-D warnings`
note: overlaps with this
--> $DIR/match_overlapping_arm.rs:21:9
|
2018-12-10 05:27:19 +00:00
21 | 0...11 => println!("0 ... 11"),
| ^^^^^^
error: some ranges overlap
--> $DIR/match_overlapping_arm.rs:26:9
|
2018-12-10 05:27:19 +00:00
26 | 0...5 => println!("0 ... 5"),
| ^^^^^
|
note: overlaps with this
--> $DIR/match_overlapping_arm.rs:28:9
|
2018-12-10 05:27:19 +00:00
28 | FOO...11 => println!("0 ... 11"),
| ^^^^^^^^
error: some ranges overlap
--> $DIR/match_overlapping_arm.rs:34:9
|
2018-12-10 05:27:19 +00:00
34 | 0...5 => println!("0 ... 5"),
| ^^^^^
|
note: overlaps with this
--> $DIR/match_overlapping_arm.rs:33:9
|
33 | 2 => println!("2"),
| ^
error: some ranges overlap
--> $DIR/match_overlapping_arm.rs:40:9
|
2018-12-10 05:27:19 +00:00
40 | 0...2 => println!("0 ... 2"),
| ^^^^^
|
note: overlaps with this
--> $DIR/match_overlapping_arm.rs:39:9
|
39 | 2 => println!("2"),
| ^
error: some ranges overlap
--> $DIR/match_overlapping_arm.rs:63:9
|
2018-12-10 05:27:19 +00:00
63 | 0..11 => println!("0 .. 11"),
| ^^^^^
|
note: overlaps with this
--> $DIR/match_overlapping_arm.rs:64:9
|
2018-12-10 05:27:19 +00:00
64 | 0...11 => println!("0 ... 11"),
| ^^^^^^
error: aborting due to 5 previous errors