Update test suite to nightly-2019-11-26

This commit is contained in:
David Tolnay 2019-11-25 23:51:43 -08:00
parent 0b303c766c
commit 90486607a1
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 7 additions and 11 deletions

View File

@ -4,7 +4,5 @@ error[E0308]: mismatched types
7 | #[derive(Deserialize)]
| ^^^^^^^^^^^
| |
| expected u16, found u8
| expected `u16`, found `u8`
| help: you can convert an `u8` to `u16`: `Deserialize.into()`
For more information about this error, try `rustc --explain E0308`.

View File

@ -2,7 +2,7 @@ error[E0308]: mismatched types
--> $DIR/wrong_getter.rs:15:10
|
15 | #[derive(Serialize)]
| ^^^^^^^^^ expected u8, found u16
| ^^^^^^^^^ expected `u8`, found `u16`
|
= note: expected type `&u8`
found type `&u16`
= note: expected reference `&u8`
found reference `&u16`

View File

@ -2,9 +2,7 @@ error[E0308]: mismatched types
--> $DIR/wrong_ser.rs:9:10
|
9 | #[derive(Serialize)]
| ^^^^^^^^^ expected u8, found u16
| ^^^^^^^^^ expected `u8`, found `u16`
|
= note: expected type `&u8`
found type `&u16`
For more information about this error, try `rustc --explain E0308`.
= note: expected reference `&u8`
found reference `&u16`