Update ui test suite to nightly-2025-11-02

This commit is contained in:
David Tolnay
2025-11-01 22:38:40 -07:00
parent 56c29b3c5d
commit e42684f9a7
+20 -4
View File
@@ -6,7 +6,11 @@ error[E0277]: the trait bound `&u8: serde::Serializer` is not satisfied
15 | struct W(#[serde(with = "w")] u8, u8);
| --- required by a bound introduced by this call
|
= help: the trait `Serializer` is implemented for `&mut Formatter<'a>`
help: the trait `Serializer` is implemented for `&mut Formatter<'a>`
--> $WORKSPACE/serde_core/src/ser/fmt.rs
|
| impl<'a> Serializer for &mut fmt::Formatter<'a> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: required by a bound in `w::serialize`
--> tests/ui/with/incorrect_type.rs:9:28
|
@@ -33,7 +37,11 @@ error[E0277]: the trait bound `&u8: serde::Serializer` is not satisfied
15 | struct W(#[serde(with = "w")] u8, u8);
| ^^^ the trait `Serializer` is not implemented for `&u8`
|
= help: the trait `Serializer` is implemented for `&mut Formatter<'a>`
help: the trait `Serializer` is implemented for `&mut Formatter<'a>`
--> $WORKSPACE/serde_core/src/ser/fmt.rs
|
| impl<'a> Serializer for &mut fmt::Formatter<'a> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: `?` operator has incompatible types
--> tests/ui/with/incorrect_type.rs:15:25
@@ -51,7 +59,11 @@ error[E0277]: the trait bound `&u8: serde::Serializer` is not satisfied
18 | struct S(#[serde(serialize_with = "w::serialize")] u8, u8);
| -------------- required by a bound introduced by this call
|
= help: the trait `Serializer` is implemented for `&mut Formatter<'a>`
help: the trait `Serializer` is implemented for `&mut Formatter<'a>`
--> $WORKSPACE/serde_core/src/ser/fmt.rs
|
| impl<'a> Serializer for &mut fmt::Formatter<'a> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: required by a bound in `w::serialize`
--> tests/ui/with/incorrect_type.rs:9:28
|
@@ -78,7 +90,11 @@ error[E0277]: the trait bound `&u8: serde::Serializer` is not satisfied
18 | struct S(#[serde(serialize_with = "w::serialize")] u8, u8);
| ^^^^^^^^^^^^^^ the trait `Serializer` is not implemented for `&u8`
|
= help: the trait `Serializer` is implemented for `&mut Formatter<'a>`
help: the trait `Serializer` is implemented for `&mut Formatter<'a>`
--> $WORKSPACE/serde_core/src/ser/fmt.rs
|
| impl<'a> Serializer for &mut fmt::Formatter<'a> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: `?` operator has incompatible types
--> tests/ui/with/incorrect_type.rs:21:37