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)]
|
2018-11-24 15:52:15 -08:00
|
|
|
| ^^^^^^^^^^^ expected u16, found u8
|
2018-11-24 15:37:35 -08:00
|
|
|
help: you can cast an `u8` to `u16`, which will zero-extend the source value
|
2018-11-24 15:52:15 -08:00
|
|
|
|
|
2018-12-31 21:36:59 -05:00
|
|
|
7 | #[derive(Deserialize.into())]
|
2018-11-24 15:52:15 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2018-11-24 15:37:35 -08:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|