rust/tests/ui/match_overlapping_arm.stderr

64 lines
1.4 KiB
Plaintext
Raw Normal View History

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