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

error: some ranges overlap
  --> $DIR/match_overlapping_arm.rs:18:9
   |
LL |         0..=5 => println!("0..=5"),
   |         ^^^^^
   |
note: overlaps with this
  --> $DIR/match_overlapping_arm.rs:20:9
   |
LL |         FOO..=11 => println!("FOO..=11"),
   |         ^^^^^^^^

error: some ranges overlap
  --> $DIR/match_overlapping_arm.rs:55:9
   |
LL |         0..11 => println!("0..11"),
   |         ^^^^^
   |
note: overlaps with this
  --> $DIR/match_overlapping_arm.rs:56:9
   |
LL |         0..=11 => println!("0..=11"),
   |         ^^^^^^

error: some ranges overlap
  --> $DIR/match_overlapping_arm.rs:80:9
   |
LL |         0..=10 => println!("0..=10"),
   |         ^^^^^^
   |
note: overlaps with this
  --> $DIR/match_overlapping_arm.rs:79:9
   |
LL |         5..14 => println!("5..14"),
   |         ^^^^^

error: some ranges overlap
  --> $DIR/match_overlapping_arm.rs:85:9
   |
LL |         0..7 => println!("0..7"),
   |         ^^^^
   |
note: overlaps with this
  --> $DIR/match_overlapping_arm.rs:86:9
   |
LL |         0..=10 => println!("0..=10"),
   |         ^^^^^^

error: some ranges overlap
  --> $DIR/match_overlapping_arm.rs:97:9
   |
LL |         ..=23 => println!("..=23"),
   |         ^^^^^
   |
note: overlaps with this
  --> $DIR/match_overlapping_arm.rs:98:9
   |
LL |         ..26 => println!("..26"),
   |         ^^^^

error: some ranges overlap
  --> $DIR/match_overlapping_arm.rs:106:9
   |
LL |         21..=30 => (),
   |         ^^^^^^^
   |
note: overlaps with this
  --> $DIR/match_overlapping_arm.rs:107:9
   |
LL |         21..=40 => (),
   |         ^^^^^^^

error: some ranges overlap
  --> $DIR/match_overlapping_arm.rs:120:9
   |
LL |         0..=0x0000_0000_0000_00ff => (),
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: overlaps with this
  --> $DIR/match_overlapping_arm.rs:121:9
   |
LL |         0..=0x0000_0000_0000_ffff => (),
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 8 previous errors