2018-10-30 15:36:52 -05:00
|
|
|
error: some ranges overlap
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:11:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06: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
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:12: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
|
|
|
|
|
|
|
error: some ranges overlap
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:17:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06: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
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:19:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06: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
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:25:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06: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
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:24:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | 2 => println!("2"),
|
2018-10-30 15:36:52 -05:00
|
|
|
| ^
|
|
|
|
|
|
|
|
error: some ranges overlap
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:31:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | 0...2 => println!("0 ... 2"),
|
2018-12-09 23:27:19 -06:00
|
|
|
| ^^^^^
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
|
|
|
note: overlaps with this
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:30:9
|
2018-10-30 15:36:52 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | 2 => println!("2"),
|
2018-10-30 15:36:52 -05:00
|
|
|
| ^
|
|
|
|
|
|
|
|
error: some ranges overlap
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/match_overlapping_arm.rs:54: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
|
2019-01-07 15:33:18 -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
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|