]> git.lizzy.rs Git - rust.git/blob - tests/ui/half-open-range-patterns/half-open-range-pats-exhaustive-fail.stderr
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
[rust.git] / tests / ui / half-open-range-patterns / half-open-range-pats-exhaustive-fail.stderr
1 error[E0004]: non-exhaustive patterns: `_` not covered
2   --> $DIR/half-open-range-pats-exhaustive-fail.rs:15:8
3    |
4 LL |     m!(0f32, f32::NEG_INFINITY..);
5    |        ^^^^ pattern `_` not covered
6    |
7    = note: the matched value is of type `f32`
8 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
9    |
10 LL |         match $s { $($t)+ => {}, _ => todo!() }
11    |                                ++++++++++++++
12
13 error[E0004]: non-exhaustive patterns: `_` not covered
14   --> $DIR/half-open-range-pats-exhaustive-fail.rs:16:8
15    |
16 LL |     m!(0f32, ..f32::INFINITY);
17    |        ^^^^ pattern `_` not covered
18    |
19    = note: the matched value is of type `f32`
20 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
21    |
22 LL |         match $s { $($t)+ => {}, _ => todo!() }
23    |                                ++++++++++++++
24
25 error[E0004]: non-exhaustive patterns: `'\u{10ffff}'` not covered
26   --> $DIR/half-open-range-pats-exhaustive-fail.rs:25:8
27    |
28 LL |     m!('a', ..core::char::MAX);
29    |        ^^^ pattern `'\u{10ffff}'` not covered
30    |
31    = note: the matched value is of type `char`
32 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
33    |
34 LL |         match $s { $($t)+ => {}, '\u{10ffff}' => todo!() }
35    |                                +++++++++++++++++++++++++
36
37 error[E0004]: non-exhaustive patterns: `'\u{10fffe}'..='\u{10ffff}'` not covered
38   --> $DIR/half-open-range-pats-exhaustive-fail.rs:26:8
39    |
40 LL |     m!('a', ..ALMOST_MAX);
41    |        ^^^ pattern `'\u{10fffe}'..='\u{10ffff}'` not covered
42    |
43    = note: the matched value is of type `char`
44 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
45    |
46 LL |         match $s { $($t)+ => {}, '\u{10fffe}'..='\u{10ffff}' => todo!() }
47    |                                ++++++++++++++++++++++++++++++++++++++++
48
49 error[E0004]: non-exhaustive patterns: `'\0'` not covered
50   --> $DIR/half-open-range-pats-exhaustive-fail.rs:27:8
51    |
52 LL |     m!('a', ALMOST_MIN..);
53    |        ^^^ pattern `'\0'` not covered
54    |
55    = note: the matched value is of type `char`
56 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
57    |
58 LL |         match $s { $($t)+ => {}, '\0' => todo!() }
59    |                                +++++++++++++++++
60
61 error[E0004]: non-exhaustive patterns: `'\u{10ffff}'` not covered
62   --> $DIR/half-open-range-pats-exhaustive-fail.rs:28:8
63    |
64 LL |     m!('a', ..=ALMOST_MAX);
65    |        ^^^ pattern `'\u{10ffff}'` not covered
66    |
67    = note: the matched value is of type `char`
68 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
69    |
70 LL |         match $s { $($t)+ => {}, '\u{10ffff}' => todo!() }
71    |                                +++++++++++++++++++++++++
72
73 error[E0004]: non-exhaustive patterns: `'b'` not covered
74   --> $DIR/half-open-range-pats-exhaustive-fail.rs:29:8
75    |
76 LL |     m!('a', ..=VAL | VAL_2..);
77    |        ^^^ pattern `'b'` not covered
78    |
79    = note: the matched value is of type `char`
80 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
81    |
82 LL |         match $s { $($t)+ => {}, 'b' => todo!() }
83    |                                ++++++++++++++++
84
85 error[E0004]: non-exhaustive patterns: `'b'` not covered
86   --> $DIR/half-open-range-pats-exhaustive-fail.rs:30:8
87    |
88 LL |     m!('a', ..VAL_1 | VAL_2..);
89    |        ^^^ pattern `'b'` not covered
90    |
91    = note: the matched value is of type `char`
92 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
93    |
94 LL |         match $s { $($t)+ => {}, 'b' => todo!() }
95    |                                ++++++++++++++++
96
97 error[E0004]: non-exhaustive patterns: `u8::MAX` not covered
98   --> $DIR/half-open-range-pats-exhaustive-fail.rs:40:12
99    |
100 LL |         m!(0, ..u8::MAX);
101    |            ^ pattern `u8::MAX` not covered
102    |
103    = note: the matched value is of type `u8`
104 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
105    |
106 LL |         match $s { $($t)+ => {}, u8::MAX => todo!() }
107    |                                ++++++++++++++++++++
108
109 error[E0004]: non-exhaustive patterns: `254_u8..=u8::MAX` not covered
110   --> $DIR/half-open-range-pats-exhaustive-fail.rs:41:12
111    |
112 LL |         m!(0, ..ALMOST_MAX);
113    |            ^ pattern `254_u8..=u8::MAX` not covered
114    |
115    = note: the matched value is of type `u8`
116 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
117    |
118 LL |         match $s { $($t)+ => {}, 254_u8..=u8::MAX => todo!() }
119    |                                +++++++++++++++++++++++++++++
120
121 error[E0004]: non-exhaustive patterns: `0_u8` not covered
122   --> $DIR/half-open-range-pats-exhaustive-fail.rs:42:12
123    |
124 LL |         m!(0, ALMOST_MIN..);
125    |            ^ pattern `0_u8` not covered
126    |
127    = note: the matched value is of type `u8`
128 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
129    |
130 LL |         match $s { $($t)+ => {}, 0_u8 => todo!() }
131    |                                +++++++++++++++++
132
133 error[E0004]: non-exhaustive patterns: `u8::MAX` not covered
134   --> $DIR/half-open-range-pats-exhaustive-fail.rs:43:12
135    |
136 LL |         m!(0, ..=ALMOST_MAX);
137    |            ^ pattern `u8::MAX` not covered
138    |
139    = note: the matched value is of type `u8`
140 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
141    |
142 LL |         match $s { $($t)+ => {}, u8::MAX => todo!() }
143    |                                ++++++++++++++++++++
144
145 error[E0004]: non-exhaustive patterns: `43_u8` not covered
146   --> $DIR/half-open-range-pats-exhaustive-fail.rs:44:12
147    |
148 LL |         m!(0, ..=VAL | VAL_2..);
149    |            ^ pattern `43_u8` not covered
150    |
151    = note: the matched value is of type `u8`
152 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
153    |
154 LL |         match $s { $($t)+ => {}, 43_u8 => todo!() }
155    |                                ++++++++++++++++++
156
157 error[E0004]: non-exhaustive patterns: `43_u8` not covered
158   --> $DIR/half-open-range-pats-exhaustive-fail.rs:45:12
159    |
160 LL |         m!(0, ..VAL_1 | VAL_2..);
161    |            ^ pattern `43_u8` not covered
162    |
163    = note: the matched value is of type `u8`
164 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
165    |
166 LL |         match $s { $($t)+ => {}, 43_u8 => todo!() }
167    |                                ++++++++++++++++++
168
169 error[E0004]: non-exhaustive patterns: `u16::MAX` not covered
170   --> $DIR/half-open-range-pats-exhaustive-fail.rs:53:12
171    |
172 LL |         m!(0, ..u16::MAX);
173    |            ^ pattern `u16::MAX` not covered
174    |
175    = note: the matched value is of type `u16`
176 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
177    |
178 LL |         match $s { $($t)+ => {}, u16::MAX => todo!() }
179    |                                +++++++++++++++++++++
180
181 error[E0004]: non-exhaustive patterns: `65534_u16..=u16::MAX` not covered
182   --> $DIR/half-open-range-pats-exhaustive-fail.rs:54:12
183    |
184 LL |         m!(0, ..ALMOST_MAX);
185    |            ^ pattern `65534_u16..=u16::MAX` not covered
186    |
187    = note: the matched value is of type `u16`
188 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
189    |
190 LL |         match $s { $($t)+ => {}, 65534_u16..=u16::MAX => todo!() }
191    |                                +++++++++++++++++++++++++++++++++
192
193 error[E0004]: non-exhaustive patterns: `0_u16` not covered
194   --> $DIR/half-open-range-pats-exhaustive-fail.rs:55:12
195    |
196 LL |         m!(0, ALMOST_MIN..);
197    |            ^ pattern `0_u16` not covered
198    |
199    = note: the matched value is of type `u16`
200 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
201    |
202 LL |         match $s { $($t)+ => {}, 0_u16 => todo!() }
203    |                                ++++++++++++++++++
204
205 error[E0004]: non-exhaustive patterns: `u16::MAX` not covered
206   --> $DIR/half-open-range-pats-exhaustive-fail.rs:56:12
207    |
208 LL |         m!(0, ..=ALMOST_MAX);
209    |            ^ pattern `u16::MAX` not covered
210    |
211    = note: the matched value is of type `u16`
212 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
213    |
214 LL |         match $s { $($t)+ => {}, u16::MAX => todo!() }
215    |                                +++++++++++++++++++++
216
217 error[E0004]: non-exhaustive patterns: `43_u16` not covered
218   --> $DIR/half-open-range-pats-exhaustive-fail.rs:57:12
219    |
220 LL |         m!(0, ..=VAL | VAL_2..);
221    |            ^ pattern `43_u16` not covered
222    |
223    = note: the matched value is of type `u16`
224 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
225    |
226 LL |         match $s { $($t)+ => {}, 43_u16 => todo!() }
227    |                                +++++++++++++++++++
228
229 error[E0004]: non-exhaustive patterns: `43_u16` not covered
230   --> $DIR/half-open-range-pats-exhaustive-fail.rs:58:12
231    |
232 LL |         m!(0, ..VAL_1 | VAL_2..);
233    |            ^ pattern `43_u16` not covered
234    |
235    = note: the matched value is of type `u16`
236 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
237    |
238 LL |         match $s { $($t)+ => {}, 43_u16 => todo!() }
239    |                                +++++++++++++++++++
240
241 error[E0004]: non-exhaustive patterns: `u32::MAX` not covered
242   --> $DIR/half-open-range-pats-exhaustive-fail.rs:66:12
243    |
244 LL |         m!(0, ..u32::MAX);
245    |            ^ pattern `u32::MAX` not covered
246    |
247    = note: the matched value is of type `u32`
248 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
249    |
250 LL |         match $s { $($t)+ => {}, u32::MAX => todo!() }
251    |                                +++++++++++++++++++++
252
253 error[E0004]: non-exhaustive patterns: `4294967294_u32..=u32::MAX` not covered
254   --> $DIR/half-open-range-pats-exhaustive-fail.rs:67:12
255    |
256 LL |         m!(0, ..ALMOST_MAX);
257    |            ^ pattern `4294967294_u32..=u32::MAX` not covered
258    |
259    = note: the matched value is of type `u32`
260 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
261    |
262 LL |         match $s { $($t)+ => {}, 4294967294_u32..=u32::MAX => todo!() }
263    |                                ++++++++++++++++++++++++++++++++++++++
264
265 error[E0004]: non-exhaustive patterns: `0_u32` not covered
266   --> $DIR/half-open-range-pats-exhaustive-fail.rs:68:12
267    |
268 LL |         m!(0, ALMOST_MIN..);
269    |            ^ pattern `0_u32` not covered
270    |
271    = note: the matched value is of type `u32`
272 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
273    |
274 LL |         match $s { $($t)+ => {}, 0_u32 => todo!() }
275    |                                ++++++++++++++++++
276
277 error[E0004]: non-exhaustive patterns: `u32::MAX` not covered
278   --> $DIR/half-open-range-pats-exhaustive-fail.rs:69:12
279    |
280 LL |         m!(0, ..=ALMOST_MAX);
281    |            ^ pattern `u32::MAX` not covered
282    |
283    = note: the matched value is of type `u32`
284 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
285    |
286 LL |         match $s { $($t)+ => {}, u32::MAX => todo!() }
287    |                                +++++++++++++++++++++
288
289 error[E0004]: non-exhaustive patterns: `43_u32` not covered
290   --> $DIR/half-open-range-pats-exhaustive-fail.rs:70:12
291    |
292 LL |         m!(0, ..=VAL | VAL_2..);
293    |            ^ pattern `43_u32` not covered
294    |
295    = note: the matched value is of type `u32`
296 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
297    |
298 LL |         match $s { $($t)+ => {}, 43_u32 => todo!() }
299    |                                +++++++++++++++++++
300
301 error[E0004]: non-exhaustive patterns: `43_u32` not covered
302   --> $DIR/half-open-range-pats-exhaustive-fail.rs:71:12
303    |
304 LL |         m!(0, ..VAL_1 | VAL_2..);
305    |            ^ pattern `43_u32` not covered
306    |
307    = note: the matched value is of type `u32`
308 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
309    |
310 LL |         match $s { $($t)+ => {}, 43_u32 => todo!() }
311    |                                +++++++++++++++++++
312
313 error[E0004]: non-exhaustive patterns: `u64::MAX` not covered
314   --> $DIR/half-open-range-pats-exhaustive-fail.rs:79:12
315    |
316 LL |         m!(0, ..u64::MAX);
317    |            ^ pattern `u64::MAX` not covered
318    |
319    = note: the matched value is of type `u64`
320 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
321    |
322 LL |         match $s { $($t)+ => {}, u64::MAX => todo!() }
323    |                                +++++++++++++++++++++
324
325 error[E0004]: non-exhaustive patterns: `18446744073709551614_u64..=u64::MAX` not covered
326   --> $DIR/half-open-range-pats-exhaustive-fail.rs:80:12
327    |
328 LL |         m!(0, ..ALMOST_MAX);
329    |            ^ pattern `18446744073709551614_u64..=u64::MAX` not covered
330    |
331    = note: the matched value is of type `u64`
332 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
333    |
334 LL |         match $s { $($t)+ => {}, 18446744073709551614_u64..=u64::MAX => todo!() }
335    |                                ++++++++++++++++++++++++++++++++++++++++++++++++
336
337 error[E0004]: non-exhaustive patterns: `0_u64` not covered
338   --> $DIR/half-open-range-pats-exhaustive-fail.rs:81:12
339    |
340 LL |         m!(0, ALMOST_MIN..);
341    |            ^ pattern `0_u64` not covered
342    |
343    = note: the matched value is of type `u64`
344 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
345    |
346 LL |         match $s { $($t)+ => {}, 0_u64 => todo!() }
347    |                                ++++++++++++++++++
348
349 error[E0004]: non-exhaustive patterns: `u64::MAX` not covered
350   --> $DIR/half-open-range-pats-exhaustive-fail.rs:82:12
351    |
352 LL |         m!(0, ..=ALMOST_MAX);
353    |            ^ pattern `u64::MAX` not covered
354    |
355    = note: the matched value is of type `u64`
356 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
357    |
358 LL |         match $s { $($t)+ => {}, u64::MAX => todo!() }
359    |                                +++++++++++++++++++++
360
361 error[E0004]: non-exhaustive patterns: `43_u64` not covered
362   --> $DIR/half-open-range-pats-exhaustive-fail.rs:83:12
363    |
364 LL |         m!(0, ..=VAL | VAL_2..);
365    |            ^ pattern `43_u64` not covered
366    |
367    = note: the matched value is of type `u64`
368 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
369    |
370 LL |         match $s { $($t)+ => {}, 43_u64 => todo!() }
371    |                                +++++++++++++++++++
372
373 error[E0004]: non-exhaustive patterns: `43_u64` not covered
374   --> $DIR/half-open-range-pats-exhaustive-fail.rs:84:12
375    |
376 LL |         m!(0, ..VAL_1 | VAL_2..);
377    |            ^ pattern `43_u64` not covered
378    |
379    = note: the matched value is of type `u64`
380 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
381    |
382 LL |         match $s { $($t)+ => {}, 43_u64 => todo!() }
383    |                                +++++++++++++++++++
384
385 error[E0004]: non-exhaustive patterns: `u128::MAX` not covered
386   --> $DIR/half-open-range-pats-exhaustive-fail.rs:92:12
387    |
388 LL |         m!(0, ..u128::MAX);
389    |            ^ pattern `u128::MAX` not covered
390    |
391    = note: the matched value is of type `u128`
392 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
393    |
394 LL |         match $s { $($t)+ => {}, u128::MAX => todo!() }
395    |                                ++++++++++++++++++++++
396
397 error[E0004]: non-exhaustive patterns: `340282366920938463463374607431768211454_u128..=u128::MAX` not covered
398   --> $DIR/half-open-range-pats-exhaustive-fail.rs:93:12
399    |
400 LL |         m!(0, ..ALMOST_MAX);
401    |            ^ pattern `340282366920938463463374607431768211454_u128..=u128::MAX` not covered
402    |
403    = note: the matched value is of type `u128`
404 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
405    |
406 LL |         match $s { $($t)+ => {}, 340282366920938463463374607431768211454_u128..=u128::MAX => todo!() }
407    |                                +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
408
409 error[E0004]: non-exhaustive patterns: `0_u128` not covered
410   --> $DIR/half-open-range-pats-exhaustive-fail.rs:94:12
411    |
412 LL |         m!(0, ALMOST_MIN..);
413    |            ^ pattern `0_u128` not covered
414    |
415    = note: the matched value is of type `u128`
416 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
417    |
418 LL |         match $s { $($t)+ => {}, 0_u128 => todo!() }
419    |                                +++++++++++++++++++
420
421 error[E0004]: non-exhaustive patterns: `u128::MAX` not covered
422   --> $DIR/half-open-range-pats-exhaustive-fail.rs:95:12
423    |
424 LL |         m!(0, ..=ALMOST_MAX);
425    |            ^ pattern `u128::MAX` not covered
426    |
427    = note: the matched value is of type `u128`
428 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
429    |
430 LL |         match $s { $($t)+ => {}, u128::MAX => todo!() }
431    |                                ++++++++++++++++++++++
432
433 error[E0004]: non-exhaustive patterns: `43_u128` not covered
434   --> $DIR/half-open-range-pats-exhaustive-fail.rs:96:12
435    |
436 LL |         m!(0, ..=VAL | VAL_2..);
437    |            ^ pattern `43_u128` not covered
438    |
439    = note: the matched value is of type `u128`
440 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
441    |
442 LL |         match $s { $($t)+ => {}, 43_u128 => todo!() }
443    |                                ++++++++++++++++++++
444
445 error[E0004]: non-exhaustive patterns: `43_u128` not covered
446   --> $DIR/half-open-range-pats-exhaustive-fail.rs:97:12
447    |
448 LL |         m!(0, ..VAL_1 | VAL_2..);
449    |            ^ pattern `43_u128` not covered
450    |
451    = note: the matched value is of type `u128`
452 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
453    |
454 LL |         match $s { $($t)+ => {}, 43_u128 => todo!() }
455    |                                ++++++++++++++++++++
456
457 error[E0004]: non-exhaustive patterns: `i8::MAX` not covered
458   --> $DIR/half-open-range-pats-exhaustive-fail.rs:108:12
459    |
460 LL |         m!(0, ..i8::MAX);
461    |            ^ pattern `i8::MAX` not covered
462    |
463    = note: the matched value is of type `i8`
464 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
465    |
466 LL |         match $s { $($t)+ => {}, i8::MAX => todo!() }
467    |                                ++++++++++++++++++++
468
469 error[E0004]: non-exhaustive patterns: `126_i8..=i8::MAX` not covered
470   --> $DIR/half-open-range-pats-exhaustive-fail.rs:109:12
471    |
472 LL |         m!(0, ..ALMOST_MAX);
473    |            ^ pattern `126_i8..=i8::MAX` not covered
474    |
475    = note: the matched value is of type `i8`
476 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
477    |
478 LL |         match $s { $($t)+ => {}, 126_i8..=i8::MAX => todo!() }
479    |                                +++++++++++++++++++++++++++++
480
481 error[E0004]: non-exhaustive patterns: `i8::MIN` not covered
482   --> $DIR/half-open-range-pats-exhaustive-fail.rs:110:12
483    |
484 LL |         m!(0, ALMOST_MIN..);
485    |            ^ pattern `i8::MIN` not covered
486    |
487    = note: the matched value is of type `i8`
488 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
489    |
490 LL |         match $s { $($t)+ => {}, i8::MIN => todo!() }
491    |                                ++++++++++++++++++++
492
493 error[E0004]: non-exhaustive patterns: `i8::MAX` not covered
494   --> $DIR/half-open-range-pats-exhaustive-fail.rs:111:12
495    |
496 LL |         m!(0, ..=ALMOST_MAX);
497    |            ^ pattern `i8::MAX` not covered
498    |
499    = note: the matched value is of type `i8`
500 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
501    |
502 LL |         match $s { $($t)+ => {}, i8::MAX => todo!() }
503    |                                ++++++++++++++++++++
504
505 error[E0004]: non-exhaustive patterns: `43_i8` not covered
506   --> $DIR/half-open-range-pats-exhaustive-fail.rs:112:12
507    |
508 LL |         m!(0, ..=VAL | VAL_2..);
509    |            ^ pattern `43_i8` not covered
510    |
511    = note: the matched value is of type `i8`
512 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
513    |
514 LL |         match $s { $($t)+ => {}, 43_i8 => todo!() }
515    |                                ++++++++++++++++++
516
517 error[E0004]: non-exhaustive patterns: `43_i8` not covered
518   --> $DIR/half-open-range-pats-exhaustive-fail.rs:113:12
519    |
520 LL |         m!(0, ..VAL_1 | VAL_2..);
521    |            ^ pattern `43_i8` not covered
522    |
523    = note: the matched value is of type `i8`
524 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
525    |
526 LL |         match $s { $($t)+ => {}, 43_i8 => todo!() }
527    |                                ++++++++++++++++++
528
529 error[E0004]: non-exhaustive patterns: `i16::MAX` not covered
530   --> $DIR/half-open-range-pats-exhaustive-fail.rs:121:12
531    |
532 LL |         m!(0, ..i16::MAX);
533    |            ^ pattern `i16::MAX` not covered
534    |
535    = note: the matched value is of type `i16`
536 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
537    |
538 LL |         match $s { $($t)+ => {}, i16::MAX => todo!() }
539    |                                +++++++++++++++++++++
540
541 error[E0004]: non-exhaustive patterns: `32766_i16..=i16::MAX` not covered
542   --> $DIR/half-open-range-pats-exhaustive-fail.rs:122:12
543    |
544 LL |         m!(0, ..ALMOST_MAX);
545    |            ^ pattern `32766_i16..=i16::MAX` not covered
546    |
547    = note: the matched value is of type `i16`
548 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
549    |
550 LL |         match $s { $($t)+ => {}, 32766_i16..=i16::MAX => todo!() }
551    |                                +++++++++++++++++++++++++++++++++
552
553 error[E0004]: non-exhaustive patterns: `i16::MIN` not covered
554   --> $DIR/half-open-range-pats-exhaustive-fail.rs:123:12
555    |
556 LL |         m!(0, ALMOST_MIN..);
557    |            ^ pattern `i16::MIN` not covered
558    |
559    = note: the matched value is of type `i16`
560 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
561    |
562 LL |         match $s { $($t)+ => {}, i16::MIN => todo!() }
563    |                                +++++++++++++++++++++
564
565 error[E0004]: non-exhaustive patterns: `i16::MAX` not covered
566   --> $DIR/half-open-range-pats-exhaustive-fail.rs:124:12
567    |
568 LL |         m!(0, ..=ALMOST_MAX);
569    |            ^ pattern `i16::MAX` not covered
570    |
571    = note: the matched value is of type `i16`
572 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
573    |
574 LL |         match $s { $($t)+ => {}, i16::MAX => todo!() }
575    |                                +++++++++++++++++++++
576
577 error[E0004]: non-exhaustive patterns: `43_i16` not covered
578   --> $DIR/half-open-range-pats-exhaustive-fail.rs:125:12
579    |
580 LL |         m!(0, ..=VAL | VAL_2..);
581    |            ^ pattern `43_i16` not covered
582    |
583    = note: the matched value is of type `i16`
584 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
585    |
586 LL |         match $s { $($t)+ => {}, 43_i16 => todo!() }
587    |                                +++++++++++++++++++
588
589 error[E0004]: non-exhaustive patterns: `43_i16` not covered
590   --> $DIR/half-open-range-pats-exhaustive-fail.rs:126:12
591    |
592 LL |         m!(0, ..VAL_1 | VAL_2..);
593    |            ^ pattern `43_i16` not covered
594    |
595    = note: the matched value is of type `i16`
596 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
597    |
598 LL |         match $s { $($t)+ => {}, 43_i16 => todo!() }
599    |                                +++++++++++++++++++
600
601 error[E0004]: non-exhaustive patterns: `i32::MAX` not covered
602   --> $DIR/half-open-range-pats-exhaustive-fail.rs:134:12
603    |
604 LL |         m!(0, ..i32::MAX);
605    |            ^ pattern `i32::MAX` not covered
606    |
607    = note: the matched value is of type `i32`
608 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
609    |
610 LL |         match $s { $($t)+ => {}, i32::MAX => todo!() }
611    |                                +++++++++++++++++++++
612
613 error[E0004]: non-exhaustive patterns: `2147483646_i32..=i32::MAX` not covered
614   --> $DIR/half-open-range-pats-exhaustive-fail.rs:135:12
615    |
616 LL |         m!(0, ..ALMOST_MAX);
617    |            ^ pattern `2147483646_i32..=i32::MAX` not covered
618    |
619    = note: the matched value is of type `i32`
620 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
621    |
622 LL |         match $s { $($t)+ => {}, 2147483646_i32..=i32::MAX => todo!() }
623    |                                ++++++++++++++++++++++++++++++++++++++
624
625 error[E0004]: non-exhaustive patterns: `i32::MIN` not covered
626   --> $DIR/half-open-range-pats-exhaustive-fail.rs:136:12
627    |
628 LL |         m!(0, ALMOST_MIN..);
629    |            ^ pattern `i32::MIN` not covered
630    |
631    = note: the matched value is of type `i32`
632 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
633    |
634 LL |         match $s { $($t)+ => {}, i32::MIN => todo!() }
635    |                                +++++++++++++++++++++
636
637 error[E0004]: non-exhaustive patterns: `i32::MAX` not covered
638   --> $DIR/half-open-range-pats-exhaustive-fail.rs:137:12
639    |
640 LL |         m!(0, ..=ALMOST_MAX);
641    |            ^ pattern `i32::MAX` not covered
642    |
643    = note: the matched value is of type `i32`
644 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
645    |
646 LL |         match $s { $($t)+ => {}, i32::MAX => todo!() }
647    |                                +++++++++++++++++++++
648
649 error[E0004]: non-exhaustive patterns: `43_i32` not covered
650   --> $DIR/half-open-range-pats-exhaustive-fail.rs:138:12
651    |
652 LL |         m!(0, ..=VAL | VAL_2..);
653    |            ^ pattern `43_i32` not covered
654    |
655    = note: the matched value is of type `i32`
656 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
657    |
658 LL |         match $s { $($t)+ => {}, 43_i32 => todo!() }
659    |                                +++++++++++++++++++
660
661 error[E0004]: non-exhaustive patterns: `43_i32` not covered
662   --> $DIR/half-open-range-pats-exhaustive-fail.rs:139:12
663    |
664 LL |         m!(0, ..VAL_1 | VAL_2..);
665    |            ^ pattern `43_i32` not covered
666    |
667    = note: the matched value is of type `i32`
668 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
669    |
670 LL |         match $s { $($t)+ => {}, 43_i32 => todo!() }
671    |                                +++++++++++++++++++
672
673 error[E0004]: non-exhaustive patterns: `i64::MAX` not covered
674   --> $DIR/half-open-range-pats-exhaustive-fail.rs:147:12
675    |
676 LL |         m!(0, ..i64::MAX);
677    |            ^ pattern `i64::MAX` not covered
678    |
679    = note: the matched value is of type `i64`
680 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
681    |
682 LL |         match $s { $($t)+ => {}, i64::MAX => todo!() }
683    |                                +++++++++++++++++++++
684
685 error[E0004]: non-exhaustive patterns: `9223372036854775806_i64..=i64::MAX` not covered
686   --> $DIR/half-open-range-pats-exhaustive-fail.rs:148:12
687    |
688 LL |         m!(0, ..ALMOST_MAX);
689    |            ^ pattern `9223372036854775806_i64..=i64::MAX` not covered
690    |
691    = note: the matched value is of type `i64`
692 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
693    |
694 LL |         match $s { $($t)+ => {}, 9223372036854775806_i64..=i64::MAX => todo!() }
695    |                                +++++++++++++++++++++++++++++++++++++++++++++++
696
697 error[E0004]: non-exhaustive patterns: `i64::MIN` not covered
698   --> $DIR/half-open-range-pats-exhaustive-fail.rs:149:12
699    |
700 LL |         m!(0, ALMOST_MIN..);
701    |            ^ pattern `i64::MIN` not covered
702    |
703    = note: the matched value is of type `i64`
704 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
705    |
706 LL |         match $s { $($t)+ => {}, i64::MIN => todo!() }
707    |                                +++++++++++++++++++++
708
709 error[E0004]: non-exhaustive patterns: `i64::MAX` not covered
710   --> $DIR/half-open-range-pats-exhaustive-fail.rs:150:12
711    |
712 LL |         m!(0, ..=ALMOST_MAX);
713    |            ^ pattern `i64::MAX` not covered
714    |
715    = note: the matched value is of type `i64`
716 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
717    |
718 LL |         match $s { $($t)+ => {}, i64::MAX => todo!() }
719    |                                +++++++++++++++++++++
720
721 error[E0004]: non-exhaustive patterns: `43_i64` not covered
722   --> $DIR/half-open-range-pats-exhaustive-fail.rs:151:12
723    |
724 LL |         m!(0, ..=VAL | VAL_2..);
725    |            ^ pattern `43_i64` not covered
726    |
727    = note: the matched value is of type `i64`
728 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
729    |
730 LL |         match $s { $($t)+ => {}, 43_i64 => todo!() }
731    |                                +++++++++++++++++++
732
733 error[E0004]: non-exhaustive patterns: `43_i64` not covered
734   --> $DIR/half-open-range-pats-exhaustive-fail.rs:152:12
735    |
736 LL |         m!(0, ..VAL_1 | VAL_2..);
737    |            ^ pattern `43_i64` not covered
738    |
739    = note: the matched value is of type `i64`
740 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
741    |
742 LL |         match $s { $($t)+ => {}, 43_i64 => todo!() }
743    |                                +++++++++++++++++++
744
745 error[E0004]: non-exhaustive patterns: `i128::MAX` not covered
746   --> $DIR/half-open-range-pats-exhaustive-fail.rs:160:12
747    |
748 LL |         m!(0, ..i128::MAX);
749    |            ^ pattern `i128::MAX` not covered
750    |
751    = note: the matched value is of type `i128`
752 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
753    |
754 LL |         match $s { $($t)+ => {}, i128::MAX => todo!() }
755    |                                ++++++++++++++++++++++
756
757 error[E0004]: non-exhaustive patterns: `170141183460469231731687303715884105726_i128..=i128::MAX` not covered
758   --> $DIR/half-open-range-pats-exhaustive-fail.rs:161:12
759    |
760 LL |         m!(0, ..ALMOST_MAX);
761    |            ^ pattern `170141183460469231731687303715884105726_i128..=i128::MAX` not covered
762    |
763    = note: the matched value is of type `i128`
764 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
765    |
766 LL |         match $s { $($t)+ => {}, 170141183460469231731687303715884105726_i128..=i128::MAX => todo!() }
767    |                                +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
768
769 error[E0004]: non-exhaustive patterns: `i128::MIN` not covered
770   --> $DIR/half-open-range-pats-exhaustive-fail.rs:162:12
771    |
772 LL |         m!(0, ALMOST_MIN..);
773    |            ^ pattern `i128::MIN` not covered
774    |
775    = note: the matched value is of type `i128`
776 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
777    |
778 LL |         match $s { $($t)+ => {}, i128::MIN => todo!() }
779    |                                ++++++++++++++++++++++
780
781 error[E0004]: non-exhaustive patterns: `i128::MAX` not covered
782   --> $DIR/half-open-range-pats-exhaustive-fail.rs:163:12
783    |
784 LL |         m!(0, ..=ALMOST_MAX);
785    |            ^ pattern `i128::MAX` not covered
786    |
787    = note: the matched value is of type `i128`
788 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
789    |
790 LL |         match $s { $($t)+ => {}, i128::MAX => todo!() }
791    |                                ++++++++++++++++++++++
792
793 error[E0004]: non-exhaustive patterns: `43_i128` not covered
794   --> $DIR/half-open-range-pats-exhaustive-fail.rs:164:12
795    |
796 LL |         m!(0, ..=VAL | VAL_2..);
797    |            ^ pattern `43_i128` not covered
798    |
799    = note: the matched value is of type `i128`
800 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
801    |
802 LL |         match $s { $($t)+ => {}, 43_i128 => todo!() }
803    |                                ++++++++++++++++++++
804
805 error[E0004]: non-exhaustive patterns: `43_i128` not covered
806   --> $DIR/half-open-range-pats-exhaustive-fail.rs:165:12
807    |
808 LL |         m!(0, ..VAL_1 | VAL_2..);
809    |            ^ pattern `43_i128` not covered
810    |
811    = note: the matched value is of type `i128`
812 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
813    |
814 LL |         match $s { $($t)+ => {}, 43_i128 => todo!() }
815    |                                ++++++++++++++++++++
816
817 error: aborting due to 68 previous errors
818
819 For more information about this error, try `rustc --explain E0004`.