fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0004]: non-exhaustive patterns: `(2_u8..=u8::MAX, _)` not covered 2 --> $DIR/exhaustiveness-non-exhaustive.rs:5:11 3 | 4LL | match (0u8, 0u8) { 5 | ^^^^^^^^^^ pattern `(2_u8..=u8::MAX, _)` not covered 6 | 7 = note: the matched value is of type `(u8, u8)` 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 ~ (0 | 1, 2 | 3) => {}, 11LL + (2_u8..=u8::MAX, _) => todo!() 12 | 13 14error[E0004]: non-exhaustive patterns: `((4_u8..=u8::MAX))` not covered 15 --> $DIR/exhaustiveness-non-exhaustive.rs:9:11 16 | 17LL | match ((0u8,),) { 18 | ^^^^^^^^^ pattern `((4_u8..=u8::MAX))` not covered 19 | 20 = note: the matched value is of type `((u8,),)` 21help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown 22 | 23LL ~ ((0 | 1,) | (2 | 3,),) => {}, 24LL + ((4_u8..=u8::MAX)) => todo!() 25 | 26 27error[E0004]: non-exhaustive patterns: `(Some(2_u8..=u8::MAX))` not covered 28 --> $DIR/exhaustiveness-non-exhaustive.rs:13:11 29 | 30LL | match (Some(0u8),) { 31 | ^^^^^^^^^^^^ pattern `(Some(2_u8..=u8::MAX))` not covered 32 | 33 = note: the matched value is of type `(Option<u8>,)` 34help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown 35 | 36LL ~ (None | Some(0 | 1),) => {}, 37LL + (Some(2_u8..=u8::MAX)) => todo!() 38 | 39 40error: aborting due to 3 previous errors 41 42For more information about this error, try `rustc --explain E0004`.