mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 22:58:02 +00:00
Update ui test suite to nightly-2022-04-17
This commit is contained in:
@@ -3,7 +3,14 @@ error[E0308]: mismatched types
|
||||
|
|
||||
7 | #[derive(Deserialize)]
|
||||
| ^^^^^^^^^^^ expected `u16`, found `u8`
|
||||
8 | #[serde(remote = "remote::S")]
|
||||
| ----------- arguments to this struct are incorrect
|
||||
|
|
||||
note: tuple struct defined here
|
||||
--> tests/ui/remote/wrong_de.rs:4:16
|
||||
|
|
||||
4 | pub struct S(pub u16);
|
||||
| ^
|
||||
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
help: you can convert a `u8` to a `u16`
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user