1 error: unreachable pattern
2 --> $DIR/exhaustive_integer_patterns.rs:23:9
7 note: lint level defined here
8 --> $DIR/exhaustive_integer_patterns.rs:3:9
10 LL | #![deny(unreachable_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error[E0004]: non-exhaustive patterns: `128u8..=std::u8::MAX` not covered
14 --> $DIR/exhaustive_integer_patterns.rs:28:11
17 | ^ pattern `128u8..=std::u8::MAX` not covered
19 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
21 error[E0004]: non-exhaustive patterns: `11u8..=19u8`, `31u8..=34u8`, `36u8..=69u8` and 1 more not covered
22 --> $DIR/exhaustive_integer_patterns.rs:33:11
25 | ^ patterns `11u8..=19u8`, `31u8..=34u8`, `36u8..=69u8` and 1 more not covered
27 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
29 error: unreachable pattern
30 --> $DIR/exhaustive_integer_patterns.rs:44:9
35 error[E0004]: non-exhaustive patterns: `std::i8::MIN..=-8i8`, `-6i8`, `121i8..=124i8` and 1 more not covered
36 --> $DIR/exhaustive_integer_patterns.rs:41:11
39 | ^ patterns `std::i8::MIN..=-8i8`, `-6i8`, `121i8..=124i8` and 1 more not covered
41 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
43 error[E0004]: non-exhaustive patterns: `std::i8::MIN` not covered
44 --> $DIR/exhaustive_integer_patterns.rs:83:11
47 | ^^^ pattern `std::i8::MIN` not covered
49 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
51 error[E0004]: non-exhaustive patterns: `0i16` not covered
52 --> $DIR/exhaustive_integer_patterns.rs:91:11
55 | ^^^^ pattern `0i16` not covered
57 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
59 error[E0004]: non-exhaustive patterns: `128u8..=std::u8::MAX` not covered
60 --> $DIR/exhaustive_integer_patterns.rs:109:11
63 | ^^^ pattern `128u8..=std::u8::MAX` not covered
65 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
67 error[E0004]: non-exhaustive patterns: `(0u8, Some(_))` and `(2u8..=std::u8::MAX, Some(_))` not covered
68 --> $DIR/exhaustive_integer_patterns.rs:121:11
70 LL | match (0u8, Some(())) {
71 | ^^^^^^^^^^^^^^^ patterns `(0u8, Some(_))` and `(2u8..=std::u8::MAX, Some(_))` not covered
73 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
75 error[E0004]: non-exhaustive patterns: `(126u8..=127u8, false)` not covered
76 --> $DIR/exhaustive_integer_patterns.rs:126:11
78 LL | match (0u8, true) {
79 | ^^^^^^^^^^^ pattern `(126u8..=127u8, false)` not covered
81 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
83 error: multiple patterns covering the same range
84 --> $DIR/exhaustive_integer_patterns.rs:141:9
87 | ------ this range overlaps on `1u8`
89 | ^^^^^^^ overlapping patterns
91 note: lint level defined here
92 --> $DIR/exhaustive_integer_patterns.rs:4:9
94 LL | #![deny(overlapping_patterns)]
95 | ^^^^^^^^^^^^^^^^^^^^
97 error[E0004]: non-exhaustive patterns: `std::u128::MAX` not covered
98 --> $DIR/exhaustive_integer_patterns.rs:146:11
101 | ^^^^^ pattern `std::u128::MAX` not covered
103 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
105 error[E0004]: non-exhaustive patterns: `5u128..=std::u128::MAX` not covered
106 --> $DIR/exhaustive_integer_patterns.rs:150:11
109 | ^^^^^ pattern `5u128..=std::u128::MAX` not covered
111 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
113 error[E0004]: non-exhaustive patterns: `0u128..=3u128` not covered
114 --> $DIR/exhaustive_integer_patterns.rs:154:11
117 | ^^^^^ pattern `0u128..=3u128` not covered
119 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
121 error: unreachable pattern
122 --> $DIR/exhaustive_integer_patterns.rs:162:9
127 error: aborting due to 15 previous errors
129 For more information about this error, try `rustc --explain E0004`.