1 error: unreachable pattern
2 --> $DIR/exhaustive_integer_patterns.rs:23:9
7 note: the lint level is defined here
8 --> $DIR/exhaustive_integer_patterns.rs:3:9
10 LL | #![deny(unreachable_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error[E0004]: non-exhaustive patterns: `128_u8..=u8::MAX` not covered
14 --> $DIR/exhaustive_integer_patterns.rs:28:11
17 | ^ pattern `128_u8..=u8::MAX` not covered
19 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
20 = note: the matched value is of type `u8`
22 error[E0004]: non-exhaustive patterns: `11_u8..=19_u8`, `31_u8..=34_u8`, `36_u8..=69_u8` and 1 more not covered
23 --> $DIR/exhaustive_integer_patterns.rs:33:11
26 | ^ patterns `11_u8..=19_u8`, `31_u8..=34_u8`, `36_u8..=69_u8` and 1 more not covered
28 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
29 = note: the matched value is of type `u8`
31 error: unreachable pattern
32 --> $DIR/exhaustive_integer_patterns.rs:44:9
37 error[E0004]: non-exhaustive patterns: `i8::MIN..=-8_i8`, `-6_i8`, `121_i8..=124_i8` and 1 more not covered
38 --> $DIR/exhaustive_integer_patterns.rs:41:11
41 | ^ patterns `i8::MIN..=-8_i8`, `-6_i8`, `121_i8..=124_i8` and 1 more not covered
43 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
44 = note: the matched value is of type `i8`
46 error[E0004]: non-exhaustive patterns: `i8::MIN` not covered
47 --> $DIR/exhaustive_integer_patterns.rs:83:11
50 | ^^^ pattern `i8::MIN` not covered
52 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
53 = note: the matched value is of type `i8`
55 error[E0004]: non-exhaustive patterns: `0_i16` not covered
56 --> $DIR/exhaustive_integer_patterns.rs:91:11
59 | ^^^^ pattern `0_i16` not covered
61 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
62 = note: the matched value is of type `i16`
64 error[E0004]: non-exhaustive patterns: `128_u8..=u8::MAX` not covered
65 --> $DIR/exhaustive_integer_patterns.rs:109:11
68 | ^^^ pattern `128_u8..=u8::MAX` not covered
70 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
71 = note: the matched value is of type `u8`
73 error[E0004]: non-exhaustive patterns: `(0_u8, Some(_))` and `(2_u8..=u8::MAX, Some(_))` not covered
74 --> $DIR/exhaustive_integer_patterns.rs:121:11
76 LL | match (0u8, Some(())) {
77 | ^^^^^^^^^^^^^^^ patterns `(0_u8, Some(_))` and `(2_u8..=u8::MAX, Some(_))` not covered
79 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
80 = note: the matched value is of type `(u8, Option<()>)`
82 error[E0004]: non-exhaustive patterns: `(126_u8..=127_u8, false)` not covered
83 --> $DIR/exhaustive_integer_patterns.rs:126:11
85 LL | match (0u8, true) {
86 | ^^^^^^^^^^^ pattern `(126_u8..=127_u8, false)` not covered
88 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
89 = note: the matched value is of type `(u8, bool)`
91 error: multiple patterns covering the same range
92 --> $DIR/exhaustive_integer_patterns.rs:141:9
95 | ------ this range overlaps on `1_u8`
97 | ^^^^^^^ overlapping patterns
99 note: the lint level is defined here
100 --> $DIR/exhaustive_integer_patterns.rs:4:9
102 LL | #![deny(overlapping_patterns)]
103 | ^^^^^^^^^^^^^^^^^^^^
105 error[E0004]: non-exhaustive patterns: `u128::MAX` not covered
106 --> $DIR/exhaustive_integer_patterns.rs:146:11
109 | ^^^^^ pattern `u128::MAX` not covered
111 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
112 = note: the matched value is of type `u128`
114 error[E0004]: non-exhaustive patterns: `5_u128..=u128::MAX` not covered
115 --> $DIR/exhaustive_integer_patterns.rs:150:11
118 | ^^^^^ pattern `5_u128..=u128::MAX` not covered
120 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
121 = note: the matched value is of type `u128`
123 error[E0004]: non-exhaustive patterns: `0_u128..=3_u128` not covered
124 --> $DIR/exhaustive_integer_patterns.rs:154:11
127 | ^^^^^ pattern `0_u128..=3_u128` not covered
129 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
130 = note: the matched value is of type `u128`
132 error: unreachable pattern
133 --> $DIR/exhaustive_integer_patterns.rs:162:9
138 error: unreachable pattern
139 --> $DIR/exhaustive_integer_patterns.rs:163:9
144 error: aborting due to 16 previous errors
146 For more information about this error, try `rustc --explain E0004`.