serde/test_suite/tests/ui/remote/wrong_ser.stderr
2021-05-13 19:16:07 -07:00

10 lines
340 B
Plaintext

error[E0308]: mismatched types
--> $DIR/wrong_ser.rs:9:10
|
9 | #[derive(Serialize)]
| ^^^^^^^^^ expected `u8`, found `u16`
|
= note: expected reference `&u8`
found reference `&u16`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)