]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/integer-ranges/reachability.stderr
Rollup merge of #79293 - Havvy:test-eval-order-compound-assign, r=Mark-Simulacrum
[rust.git] / src / test / ui / pattern / usefulness / integer-ranges / reachability.stderr
1 error: unreachable pattern
2   --> $DIR/reachability.rs:16:17
3    |
4 LL |     m!(0u8, 42, 42);
5    |                 ^^
6    |
7 note: the lint level is defined here
8   --> $DIR/reachability.rs:2:9
9    |
10 LL | #![deny(unreachable_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: unreachable pattern
14   --> $DIR/reachability.rs:20:22
15    |
16 LL |     m!(0u8, 20..=30, 20);
17    |                      ^^
18
19 error: unreachable pattern
20   --> $DIR/reachability.rs:21:22
21    |
22 LL |     m!(0u8, 20..=30, 21);
23    |                      ^^
24
25 error: unreachable pattern
26   --> $DIR/reachability.rs:22:22
27    |
28 LL |     m!(0u8, 20..=30, 25);
29    |                      ^^
30
31 error: unreachable pattern
32   --> $DIR/reachability.rs:23:22
33    |
34 LL |     m!(0u8, 20..=30, 29);
35    |                      ^^
36
37 error: unreachable pattern
38   --> $DIR/reachability.rs:24:22
39    |
40 LL |     m!(0u8, 20..=30, 30);
41    |                      ^^
42
43 error: unreachable pattern
44   --> $DIR/reachability.rs:27:21
45    |
46 LL |     m!(0u8, 20..30, 20);
47    |                     ^^
48
49 error: unreachable pattern
50   --> $DIR/reachability.rs:28:21
51    |
52 LL |     m!(0u8, 20..30, 21);
53    |                     ^^
54
55 error: unreachable pattern
56   --> $DIR/reachability.rs:29:21
57    |
58 LL |     m!(0u8, 20..30, 25);
59    |                     ^^
60
61 error: unreachable pattern
62   --> $DIR/reachability.rs:30:21
63    |
64 LL |     m!(0u8, 20..30, 29);
65    |                     ^^
66
67 error: unreachable pattern
68   --> $DIR/reachability.rs:34:22
69    |
70 LL |     m!(0u8, 20..=30, 20..=30);
71    |                      ^^^^^^^
72
73 error: unreachable pattern
74   --> $DIR/reachability.rs:35:22
75    |
76 LL |     m!(0u8, 20.. 30, 20.. 30);
77    |                      ^^^^^^^
78
79 error: unreachable pattern
80   --> $DIR/reachability.rs:36:22
81    |
82 LL |     m!(0u8, 20..=30, 20.. 30);
83    |                      ^^^^^^^
84
85 error: unreachable pattern
86   --> $DIR/reachability.rs:38:22
87    |
88 LL |     m!(0u8, 20..=30, 21..=30);
89    |                      ^^^^^^^
90
91 error: unreachable pattern
92   --> $DIR/reachability.rs:39:22
93    |
94 LL |     m!(0u8, 20..=30, 20..=29);
95    |                      ^^^^^^^
96
97 error: unreachable pattern
98   --> $DIR/reachability.rs:41:24
99    |
100 LL |     m!('a', 'A'..='z', 'a'..='z');
101    |                        ^^^^^^^^^
102
103 error: unreachable pattern
104   --> $DIR/reachability.rs:48:9
105    |
106 LL |         5..=8 => {},
107    |         ^^^^^
108
109 error: unreachable pattern
110   --> $DIR/reachability.rs:54:9
111    |
112 LL |         5..15 => {},
113    |         ^^^^^
114
115 error: unreachable pattern
116   --> $DIR/reachability.rs:61:9
117    |
118 LL |         5..25 => {},
119    |         ^^^^^
120
121 error: unreachable pattern
122   --> $DIR/reachability.rs:69:9
123    |
124 LL |         5..25 => {},
125    |         ^^^^^
126
127 error: unreachable pattern
128   --> $DIR/reachability.rs:82:9
129    |
130 LL |         '\u{D7FF}'..='\u{E000}' => {},
131    |         ^^^^^^^^^^^^^^^^^^^^^^^
132
133 error: unreachable pattern
134   --> $DIR/reachability.rs:103:9
135    |
136 LL |         &FOO => {}
137    |         ^^^^
138
139 error: unreachable pattern
140   --> $DIR/reachability.rs:104:9
141    |
142 LL |         BAR => {}
143    |         ^^^
144
145 error: aborting due to 23 previous errors
146