2018-11-24 15:37:35 -08:00
|
|
|
error[E0308]: mismatched types
|
2018-12-31 21:36:59 -05:00
|
|
|
--> $DIR/wrong_ser.rs:9:10
|
|
|
|
|
|
|
|
|
9 | #[derive(Serialize)]
|
2019-11-25 23:51:43 -08:00
|
|
|
| ^^^^^^^^^ expected `u8`, found `u16`
|
2018-12-31 21:36:59 -05:00
|
|
|
|
|
2019-11-25 23:51:43 -08:00
|
|
|
= note: expected reference `&u8`
|
|
|
|
found reference `&u16`
|
2020-02-08 00:10:00 -08:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|