]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/match_overlapping_arm.stderr
Rollup merge of #102454 - chenyukang:fix-102396-missing-parentheses, r=lcnr
[rust.git] / src / tools / clippy / tests / ui / match_overlapping_arm.stderr
1 error: some ranges overlap
2   --> $DIR/match_overlapping_arm.rs:13:9
3    |
4 LL |         0..=10 => println!("0..=10"),
5    |         ^^^^^^
6    |
7 note: overlaps with this
8   --> $DIR/match_overlapping_arm.rs:14:9
9    |
10 LL |         0..=11 => println!("0..=11"),
11    |         ^^^^^^
12    = note: `-D clippy::match-overlapping-arm` implied by `-D warnings`
13
14 error: some ranges overlap
15   --> $DIR/match_overlapping_arm.rs:19:9
16    |
17 LL |         0..=5 => println!("0..=5"),
18    |         ^^^^^
19    |
20 note: overlaps with this
21   --> $DIR/match_overlapping_arm.rs:21:9
22    |
23 LL |         FOO..=11 => println!("FOO..=11"),
24    |         ^^^^^^^^
25
26 error: some ranges overlap
27   --> $DIR/match_overlapping_arm.rs:56:9
28    |
29 LL |         0..11 => println!("0..11"),
30    |         ^^^^^
31    |
32 note: overlaps with this
33   --> $DIR/match_overlapping_arm.rs:57:9
34    |
35 LL |         0..=11 => println!("0..=11"),
36    |         ^^^^^^
37
38 error: some ranges overlap
39   --> $DIR/match_overlapping_arm.rs:81:9
40    |
41 LL |         0..=10 => println!("0..=10"),
42    |         ^^^^^^
43    |
44 note: overlaps with this
45   --> $DIR/match_overlapping_arm.rs:80:9
46    |
47 LL |         5..14 => println!("5..14"),
48    |         ^^^^^
49
50 error: some ranges overlap
51   --> $DIR/match_overlapping_arm.rs:86:9
52    |
53 LL |         0..7 => println!("0..7"),
54    |         ^^^^
55    |
56 note: overlaps with this
57   --> $DIR/match_overlapping_arm.rs:87:9
58    |
59 LL |         0..=10 => println!("0..=10"),
60    |         ^^^^^^
61
62 error: some ranges overlap
63   --> $DIR/match_overlapping_arm.rs:98:9
64    |
65 LL |         ..=23 => println!("..=23"),
66    |         ^^^^^
67    |
68 note: overlaps with this
69   --> $DIR/match_overlapping_arm.rs:99:9
70    |
71 LL |         ..26 => println!("..26"),
72    |         ^^^^
73
74 error: some ranges overlap
75   --> $DIR/match_overlapping_arm.rs:107:9
76    |
77 LL |         21..=30 => (),
78    |         ^^^^^^^
79    |
80 note: overlaps with this
81   --> $DIR/match_overlapping_arm.rs:108:9
82    |
83 LL |         21..=40 => (),
84    |         ^^^^^^^
85
86 error: some ranges overlap
87   --> $DIR/match_overlapping_arm.rs:121:9
88    |
89 LL |         0..=0x0000_0000_0000_00ff => (),
90    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
91    |
92 note: overlaps with this
93   --> $DIR/match_overlapping_arm.rs:122:9
94    |
95 LL |         0..=0x0000_0000_0000_ffff => (),
96    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
97
98 error: aborting due to 8 previous errors
99