]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/match-slice-patterns.stderr
72ae5d5fe3b33e172a1a499ee984a3d1ecc2c149
[rust.git] / src / test / ui / pattern / usefulness / match-slice-patterns.stderr
1 error[E0004]: non-exhaustive patterns: `&[_, Some(_), .., None, _]` not covered
2   --> $DIR/match-slice-patterns.rs:4:11
3    |
4 LL |     match list {
5    |           ^^^^ pattern `&[_, Some(_), .., None, _]` not covered
6    |
7    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0004`.