wrong_ser.stderr
This file
Path
test_suite/tests/ui/remote/wrong_ser.stderr
17 lines · 576 bytes
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 3761854 point at it.
Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 1–17why, one step back1error[E0308]: mismatched types2 --> tests/ui/remote/wrong_ser.rs:9:103 |49 | #[derive(Serialize)]5 | ^^^^^^^^^6 | |7 | expected `&u8`, found `&u16`8 | arguments to this function are incorrect9 |10 = note: expected reference `&u8`11 found reference `&u16`12note: function defined here13 --> $WORKSPACE/serde/src/private/ser.rs14 |15 | pub fn constrain<T: ?Sized>(t: &T) -> &T {16 | ^^^^^^^^^17 = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)