]> git.proxmox.com Git - rustc.git/blame - src/test/ui/pattern/usefulness/match-byte-array-patterns-2.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / pattern / usefulness / match-byte-array-patterns-2.stderr
CommitLineData
60c5eb7d 1error[E0004]: non-exhaustive patterns: `&[0u8..=64u8, _, _, _]` and `&[66u8..=std::u8::MAX, _, _, _]` not covered
0731742a 2 --> $DIR/match-byte-array-patterns-2.rs:4:11
b7449926 3 |
532ac7d7 4LL | match buf {
60c5eb7d 5 | ^^^ patterns `&[0u8..=64u8, _, _, _]` and `&[66u8..=std::u8::MAX, _, _, _]` not covered
532ac7d7
XL
6 |
7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
b7449926 8
60c5eb7d 9error[E0004]: non-exhaustive patterns: `&[]`, `&[_]`, `&[_, _]` and 2 more not covered
0731742a 10 --> $DIR/match-byte-array-patterns-2.rs:10:11
b7449926 11 |
532ac7d7 12LL | match buf {
60c5eb7d 13 | ^^^ patterns `&[]`, `&[_]`, `&[_, _]` and 2 more not covered
532ac7d7
XL
14 |
15 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
b7449926
XL
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0004`.