Skip to content
Myr

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

1 file+20 added−4 removed

modified:test_suite/tests/ui/with/incorrect_type.stderr+20 added-4 removed
4 unmodified lines
5 | ^^^^^^^^^ the trait `Serializer` is not implemented for `&u8`615 | 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>`9help: 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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^14note: 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 lines
36 |3715 | 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>`40help: 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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^4546error[E0308]: `?` operator has incompatible types47 --> tests/ui/with/incorrect_type.rs:15:2548 |
9 unmodified lines
58 | ^^^^^^^^^ the trait `Serializer` is not implemented for `&u8`5918 | 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>`62help: 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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^67note: 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 lines
89 |9018 | 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>`93help: 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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^9899error[E0308]: `?` operator has incompatible types100 --> tests/ui/with/incorrect_type.rs:21:37101 |
4 unmodified lines