error[E0277]: the trait bound `FooRequest: Serialize` is not satisfied --> tests/compile_fail/serde1/opt_out_serde.rs:12:40 | 12 | lrcall::serde::Serialize::serialize(&x, f); | ---------------------------------- ^^ the trait `Serialize` is not implemented for `FooRequest` | | | required by a bound introduced by this call | = note: for local types consider adding `#[derive(serde::Serialize)]` to your `FooRequest` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and $N others