2018-11-24 17:37:35 -06:00
|
|
|
error[E0308]: mismatched types
|
2018-12-31 20:36:59 -06:00
|
|
|
--> $DIR/wrong_ser.rs:9:10
|
|
|
|
|
|
|
|
|
9 | #[derive(Serialize)]
|
2019-11-26 01:51:43 -06:00
|
|
|
| ^^^^^^^^^ expected `u8`, found `u16`
|
2018-12-31 20:36:59 -06:00
|
|
|
|
|
2019-11-26 01:51:43 -06:00
|
|
|
= note: expected reference `&u8`
|
|
|
|
found reference `&u16`
|
2021-05-13 21:16:07 -05:00
|
|
|
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|