rust/src/test/ui/rfc-2005-default-binding-mode/slice.stderr

17 lines
498 B
Plaintext
Raw Normal View History

error[E0004]: non-exhaustive patterns: `&[]` not covered
2019-12-30 00:23:42 +00:00
--> $DIR/slice.rs:4:11
|
2019-03-09 12:03:44 +00:00
LL | match sl {
| ^^ pattern `&[]` not covered
|
= note: the matched value is of type `&[u8]`
help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
LL ~ [first, remainder @ ..] => {}
LL ~ &[] => todo!(),
|
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0004`.