error[E0308]: mismatched types --> $DIR/wrong_ser.rs:9:10 | 9 | #[derive(Serialize)] | ^^^^^^^^^ expected `u8`, found `u16` | = note: expected reference `&u8` found reference `&u16`