1
Fork 0

Remove E0308 note when primary label has all info

This commit is contained in:
Esteban Küber 2019-11-14 23:45:30 -08:00
parent b2e6aef073
commit 94c6425464
237 changed files with 225 additions and 1278 deletions

View file

@ -3,9 +3,6 @@ error[E0308]: mismatched types
|
LL | FOO => {},
| ^^^ expected &Foo, found struct `Foo`
|
= note: expected type `&Foo`
found struct `Foo`
error: aborting due to previous error

View file

@ -11,7 +11,7 @@ error[E0308]: mismatched types
--> $DIR/lit.rs:16:9
|
LL | b"abc" => true,
| ^^^^^^ expected &[u8], found array of 3 elements
| ^^^^^^ expected &[u8], found array `[u8; 3]`
|
= note: expected type `&&[u8]`
found reference `&'static [u8; 3]`