Skip to content
Myr

wrong_de.stderr

This file

Path

test_suite/tests/ui/remote/wrong_de.stderr

14 lines · 518 bytes

Last changed by

Not known.

History of this file

Take it

1error[E0308]: mismatched types2 --> tests/ui/remote/wrong_de.rs:7:103  |47 | #[derive(Deserialize)]5  |          ^^^^^^^^^^^ expected `u16`, found `u8`68 | #[serde(remote = "remote::S")]7  |                  ----------- arguments to this struct are incorrect8  |9note: tuple struct defined here10 --> tests/ui/remote/wrong_de.rs:4:1611  |124 |     pub struct S(pub u16);13  |                ^14  = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)