serde/test_suite/tests/ui/remote/wrong_getter.stderr
2021-10-07 00:56:29 -04:00

10 lines
368 B
Plaintext

error[E0308]: mismatched types
--> $DIR/tests/ui/remote/wrong_getter.rs:15:10
|
15 | #[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)