2023-10-04 17:58:14 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `&[]` not covered
|
2024-02-07 09:07:15 -06:00
|
|
|
--> $DIR/slice_of_empty.rs:21:11
|
2023-10-04 17:58:14 -05:00
|
|
|
|
|
|
|
|
LL | match nevers {
|
|
|
|
| ^^^^^^ pattern `&[]` not covered
|
|
|
|
|
|
|
|
|
= note: the matched value is of type `&[!]`
|
|
|
|
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
|
|
|
|
|
2023-11-18 14:39:57 -06:00
|
|
|
LL ~ &[_] => (),
|
|
|
|
LL ~ &[] => todo!(),
|
|
|
|
|
|
2023-10-04 17:58:14 -05:00
|
|
|
|
2023-11-18 14:39:57 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-10-04 17:58:14 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0004`.
|