mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 07:51:03 +00:00
Update ui test suite to nightly-2021-09-14
This commit is contained in:
@@ -2,9 +2,10 @@ error[E0308]: mismatched types
|
|||||||
--> $DIR/wrong_de.rs:7:10
|
--> $DIR/wrong_de.rs:7:10
|
||||||
|
|
|
|
||||||
7 | #[derive(Deserialize)]
|
7 | #[derive(Deserialize)]
|
||||||
| ^^^^^^^^^^^
|
| ^^^^^^^^^^^ expected `u16`, found `u8`
|
||||||
| |
|
|
||||||
| expected `u16`, found `u8`
|
|
||||||
| help: you can convert a `u8` to a `u16`: `Deserialize.into()`
|
|
||||||
|
|
|
|
||||||
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
= 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`
|
||||||
|
|
|
||||||
|
7 | #[derive(Deserialize.into())]
|
||||||
|
| +++++++
|
||||||
|
|||||||
Reference in New Issue
Block a user