fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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