1 error[E0004]: non-exhaustive patterns: `&[_, Some(_), .., None, _]` not covered
2 --> $DIR/match-slice-patterns.rs:2:11
5 | ^^^^ pattern `&[_, Some(_), .., None, _]` not covered
7 = note: the matched value is of type `&[Option<()>]`
8 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
10 LL ~ &[.., Some(_), _] => {}
11 LL ~ &[_, Some(_), .., None, _] => todo!(),
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0004`.