]> git.lizzy.rs Git - rust.git/blob - tests/ui/match_overlapping_arm.stderr
Auto merge of #3635 - matthiaskrgr:revert_random_state_3603, r=xfix
[rust.git] / tests / ui / match_overlapping_arm.stderr
1 error: some ranges overlap
2   --> $DIR/match_overlapping_arm.rs:20:9
3    |
4 LL |         0...10 => println!("0 ... 10"),
5    |         ^^^^^^
6    |
7    = note: `-D clippy::match-overlapping-arm` implied by `-D warnings`
8 note: overlaps with this
9   --> $DIR/match_overlapping_arm.rs:21:9
10    |
11 LL |         0...11 => println!("0 ... 11"),
12    |         ^^^^^^
13
14 error: some ranges overlap
15   --> $DIR/match_overlapping_arm.rs:26:9
16    |
17 LL |         0...5 => println!("0 ... 5"),
18    |         ^^^^^
19    |
20 note: overlaps with this
21   --> $DIR/match_overlapping_arm.rs:28:9
22    |
23 LL |         FOO...11 => println!("0 ... 11"),
24    |         ^^^^^^^^
25
26 error: some ranges overlap
27   --> $DIR/match_overlapping_arm.rs:34:9
28    |
29 LL |         0...5 => println!("0 ... 5"),
30    |         ^^^^^
31    |
32 note: overlaps with this
33   --> $DIR/match_overlapping_arm.rs:33:9
34    |
35 LL |         2 => println!("2"),
36    |         ^
37
38 error: some ranges overlap
39   --> $DIR/match_overlapping_arm.rs:40:9
40    |
41 LL |         0...2 => println!("0 ... 2"),
42    |         ^^^^^
43    |
44 note: overlaps with this
45   --> $DIR/match_overlapping_arm.rs:39:9
46    |
47 LL |         2 => println!("2"),
48    |         ^
49
50 error: some ranges overlap
51   --> $DIR/match_overlapping_arm.rs:63:9
52    |
53 LL |         0..11 => println!("0 .. 11"),
54    |         ^^^^^
55    |
56 note: overlaps with this
57   --> $DIR/match_overlapping_arm.rs:64:9
58    |
59 LL |         0...11 => println!("0 ... 11"),
60    |         ^^^^^^
61
62 error: aborting due to 5 previous errors
63