Skip to content

Commit 9048660

Browse files
committed
Update test suite to nightly-2019-11-26
1 parent 0b303c7 commit 9048660

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

test_suite/tests/ui/remote/wrong_de.stderr

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ error[E0308]: mismatched types
44
7 | #[derive(Deserialize)]
55
| ^^^^^^^^^^^
66
| |
7-
| expected u16, found u8
7+
| expected `u16`, found `u8`
88
| help: you can convert an `u8` to `u16`: `Deserialize.into()`
9-
10-
For more information about this error, try `rustc --explain E0308`.

test_suite/tests/ui/remote/wrong_getter.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
22
--> $DIR/wrong_getter.rs:15:10
33
|
44
15 | #[derive(Serialize)]
5-
| ^^^^^^^^^ expected u8, found u16
5+
| ^^^^^^^^^ expected `u8`, found `u16`
66
|
7-
= note: expected type `&u8`
8-
found type `&u16`
7+
= note: expected reference `&u8`
8+
found reference `&u16`

test_suite/tests/ui/remote/wrong_ser.stderr

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ error[E0308]: mismatched types
22
--> $DIR/wrong_ser.rs:9:10
33
|
44
9 | #[derive(Serialize)]
5-
| ^^^^^^^^^ expected u8, found u16
5+
| ^^^^^^^^^ expected `u8`, found `u16`
66
|
7-
= note: expected type `&u8`
8-
found type `&u16`
9-
10-
For more information about this error, try `rustc --explain E0308`.
7+
= note: expected reference `&u8`
8+
found reference `&u16`

0 commit comments

Comments
 (0)