]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/match_overlapping_arm.stderr
Rollup merge of #71737 - RalfJung:miri-test-threads, r=shepmaster
[rust.git] / src / tools / clippy / tests / ui / match_overlapping_arm.stderr
1 error: some ranges overlap
2   --> $DIR/match_overlapping_arm.rs:12: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:13:9
10    |
11 LL |         0..=11 => println!("0 ... 11"),
12    |         ^^^^^^
13
14 error: some ranges overlap
15   --> $DIR/match_overlapping_arm.rs:18:9
16    |
17 LL |         0..=5 => println!("0 ... 5"),
18    |         ^^^^^
19    |
20 note: overlaps with this
21   --> $DIR/match_overlapping_arm.rs:20:9
22    |
23 LL |         FOO..=11 => println!("0 ... 11"),
24    |         ^^^^^^^^
25
26 error: some ranges overlap
27   --> $DIR/match_overlapping_arm.rs:26:9
28    |
29 LL |         0..=5 => println!("0 ... 5"),
30    |         ^^^^^
31    |
32 note: overlaps with this
33   --> $DIR/match_overlapping_arm.rs:25:9
34    |
35 LL |         2 => println!("2"),
36    |         ^
37
38 error: some ranges overlap
39   --> $DIR/match_overlapping_arm.rs:32:9
40    |
41 LL |         0..=2 => println!("0 ... 2"),
42    |         ^^^^^
43    |
44 note: overlaps with this
45   --> $DIR/match_overlapping_arm.rs:31:9
46    |
47 LL |         2 => println!("2"),
48    |         ^
49
50 error: some ranges overlap
51   --> $DIR/match_overlapping_arm.rs:55:9
52    |
53 LL |         0..11 => println!("0 .. 11"),
54    |         ^^^^^
55    |
56 note: overlaps with this
57   --> $DIR/match_overlapping_arm.rs:56:9
58    |
59 LL |         0..=11 => println!("0 ... 11"),
60    |         ^^^^^^
61
62 error: aborting due to 5 previous errors
63