Skip to content

Commit

Permalink
Update test suite to nightly-2019-11-26
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 26, 2019
1 parent 0b303c7 commit 9048660
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
4 changes: 1 addition & 3 deletions test_suite/tests/ui/remote/wrong_de.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
6 changes: 3 additions & 3 deletions test_suite/tests/ui/remote/wrong_getter.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`
8 changes: 3 additions & 5 deletions test_suite/tests/ui/remote/wrong_ser.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`

0 comments on commit 9048660

Please sign in to comment.