615 | struct W(#[serde(with = "w")] u8, u8);7 | --- required by a bound introduced by this call8 |9 = help: the following other types implement trait `Serializer`:10- &'a mut Formatter<'b>10+ &mut Formatter<'a>11 FlatMapSerializer<'a, M>12 _::_serde::__private::ser::content::ContentSerializer<E>13note: required by a bound in `w::serialize`14 --> tests/ui/with/incorrect_type.rs:9:28
19 unmodified lines
3415 | struct W(#[serde(with = "w")] u8, u8);35 | ^^^ the trait `Serializer` is not implemented for `&u8`36 |37 = help: the following other types implement trait `Serializer`:38- &'a mut Formatter<'b>38+ &mut Formatter<'a>39 FlatMapSerializer<'a, M>40 _::_serde::__private::ser::content::ContentSerializer<E>4142error[E0308]: `?` operator has incompatible types
12 unmodified lines
5518 | struct S(#[serde(serialize_with = "w::serialize")] u8, u8);56 | -------------- required by a bound introduced by this call57 |58 = help: the following other types implement trait `Serializer`:59- &'a mut Formatter<'b>59+ &mut Formatter<'a>60 FlatMapSerializer<'a, M>61 _::_serde::__private::ser::content::ContentSerializer<E>62note: required by a bound in `w::serialize`63 --> tests/ui/with/incorrect_type.rs:9:28
19 unmodified lines
8318 | struct S(#[serde(serialize_with = "w::serialize")] u8, u8);84 | ^^^^^^^^^^^^^^ the trait `Serializer` is not implemented for `&u8`85 |86 = help: the following other types implement trait `Serializer`:87- &'a mut Formatter<'b>87+ &mut Formatter<'a>88 FlatMapSerializer<'a, M>89 _::_serde::__private::ser::content::ContentSerializer<E>9091error[E0308]: `?` operator has incompatible types