1
Fork 0

non-exhastive diagnostic: add note re. scrutinee type

This commit is contained in:
Mazdak Farrokhzad 2020-03-27 06:44:30 +01:00
parent 3b1d735118
commit c858593ed0
64 changed files with 265 additions and 0 deletions

View file

@ -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