fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0004]: non-exhaustive patterns: `&[0_u8..=64_u8, _, _, _]` and `&[66_u8..=u8::MAX, _, _, _]` not covered 2 --> $DIR/match-byte-array-patterns-2.rs:4:11 3 | 4LL | match buf { 5 | ^^^ patterns `&[0_u8..=64_u8, _, _, _]` and `&[66_u8..=u8::MAX, _, _, _]` not covered 6 | 7 = note: the matched value is of type `&[u8; 4]` 8help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms 9 | 10LL ~ b"AAAA" => {}, 11LL + &[0_u8..=64_u8, _, _, _] | &[66_u8..=u8::MAX, _, _, _] => todo!() 12 | 13 14error[E0004]: non-exhaustive patterns: `&[]`, `&[_]`, `&[_, _]` and 2 more not covered 15 --> $DIR/match-byte-array-patterns-2.rs:10:11 16 | 17LL | match buf { 18 | ^^^ patterns `&[]`, `&[_]`, `&[_, _]` and 2 more 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 as shown, or multiple match arms 22 | 23LL ~ b"AAAA" => {}, 24LL + _ => todo!() 25 | 26 27error: aborting due to 2 previous errors 28 29For more information about this error, try `rustc --explain E0004`.