non-exhastive diagnostic: add note re. scrutinee type
This commit is contained in:
parent
3b1d735118
commit
c858593ed0
64 changed files with 265 additions and 0 deletions
|
@ -5,6 +5,7 @@ LL | match sl {
|
|||
| ^^ pattern `&[]` not covered
|
||||
|
|
||||
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
||||
= note: the matched value is of type `&[u8]`
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue