2018-11-24 15:37:35 -08:00
|
|
|
error[E0308]: mismatched types
|
2018-12-31 21:36:59 -05:00
|
|
|
--> $DIR/wrong_de.rs:7:10
|
2018-11-24 15:52:15 -08:00
|
|
|
|
|
2018-12-31 21:36:59 -05:00
|
|
|
7 | #[derive(Deserialize)]
|
2021-09-14 19:13:54 -07:00
|
|
|
| ^^^^^^^^^^^ expected `u16`, found `u8`
|
2020-02-08 00:10:00 -08:00
|
|
|
|
|
2021-05-13 19:16:07 -07:00
|
|
|
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2021-09-14 19:13:54 -07:00
|
|
|
help: you can convert a `u8` to a `u16`
|
|
|
|
|
|
|
|
|
7 | #[derive(Deserialize.into())]
|
|
|
|
| +++++++
|