Update ui test suite to nightly-2025-11-02
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Tolnay · committed by David Tolnay · parent 56c29b3 · Browse files · 1 file·+20 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+20 added−4 removed
- tests:+20 added−4 removed
Provenance
- Commit
e42684f- Tree
3d972a1- Author
David Tolnay <dtolnay@gmail.com>- Committer
David Tolnay <dtolnay@gmail.com>- Parent
56c29b3
1 file changed+20 added−4 removed
modified:test_suite/tests/ui/with/incorrect_type.stderr+20 added-4 removed
4 unmodified lines5 | ^^^^^^^^^ the trait `Serializer` is not implemented for `&u8`6 15 | struct W(#[serde(with = "w")] u8, u8);7 | --- required by a bound introduced by this call8 |9- = help: the trait `Serializer` is implemented for `&mut Formatter<'a>`9+help: the trait `Serializer` is implemented for `&mut Formatter<'a>`10+ --> $WORKSPACE/serde_core/src/ser/fmt.rs11+ |12+ | impl<'a> Serializer for &mut fmt::Formatter<'a> {13+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^14 note: required by a bound in `w::serialize`15 --> tests/ui/with/incorrect_type.rs:9:2816 |17 9 | pub fn serialize<T, S: Serializer>(_: S) -> Result<S::Ok, S::Error> {18 unmodified lines36 |37 15 | struct W(#[serde(with = "w")] u8, u8);38 | ^^^ the trait `Serializer` is not implemented for `&u8`39 |36- = help: the trait `Serializer` is implemented for `&mut Formatter<'a>`40+help: the trait `Serializer` is implemented for `&mut Formatter<'a>`41+ --> $WORKSPACE/serde_core/src/ser/fmt.rs42+ |43+ | impl<'a> Serializer for &mut fmt::Formatter<'a> {44+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^45 46 error[E0308]: `?` operator has incompatible types47 --> tests/ui/with/incorrect_type.rs:15:2548 |9 unmodified lines58 | ^^^^^^^^^ the trait `Serializer` is not implemented for `&u8`59 18 | struct S(#[serde(serialize_with = "w::serialize")] u8, u8);60 | -------------- required by a bound introduced by this call61 |54- = help: the trait `Serializer` is implemented for `&mut Formatter<'a>`62+help: the trait `Serializer` is implemented for `&mut Formatter<'a>`63+ --> $WORKSPACE/serde_core/src/ser/fmt.rs64+ |65+ | impl<'a> Serializer for &mut fmt::Formatter<'a> {66+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^67 note: required by a bound in `w::serialize`68 --> tests/ui/with/incorrect_type.rs:9:2869 |70 9 | pub fn serialize<T, S: Serializer>(_: S) -> Result<S::Ok, S::Error> {18 unmodified lines89 |90 18 | struct S(#[serde(serialize_with = "w::serialize")] u8, u8);91 | ^^^^^^^^^^^^^^ the trait `Serializer` is not implemented for `&u8`92 |81- = help: the trait `Serializer` is implemented for `&mut Formatter<'a>`93+help: the trait `Serializer` is implemented for `&mut Formatter<'a>`94+ --> $WORKSPACE/serde_core/src/ser/fmt.rs95+ |96+ | impl<'a> Serializer for &mut fmt::Formatter<'a> {97+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^98 99 error[E0308]: `?` operator has incompatible types100 --> tests/ui/with/incorrect_type.rs:21:37101 |4 unmodified lines