serde/test_suite/tests/ui/remote/wrong_ser.stderr

10 lines
340 B
Plaintext
Raw Normal View History

error[E0308]: mismatched types
2018-12-31 20:36:59 -06:00
--> $DIR/wrong_ser.rs:9:10
|
9 | #[derive(Serialize)]
| ^^^^^^^^^ expected `u8`, found `u16`
2018-12-31 20:36:59 -06:00
|
= 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)