]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2005-default-binding-mode/slice.stderr
Merge commit '1fcc74cc9e03bc91eaa80ecf92976b0b14b3aeb6' into clippyup
[rust.git] / src / test / ui / rfc-2005-default-binding-mode / slice.stderr
1 error[E0004]: non-exhaustive patterns: `&[]` not covered
2   --> $DIR/slice.rs:4:11
3    |
4 LL |     match sl {
5    |           ^^ pattern `&[]` not covered
6    |
7    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8    = note: the matched value is of type `&[u8]`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0004`.