mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-14 05:51:01 +00:00
Update ui test suite to nightly-2025-11-02
This commit is contained in:
@@ -6,7 +6,11 @@ error[E0277]: the trait bound `&u8: serde::Serializer` is not satisfied
|
|||||||
15 | struct W(#[serde(with = "w")] u8, u8);
|
15 | struct W(#[serde(with = "w")] u8, u8);
|
||||||
| --- required by a bound introduced by this call
|
| --- 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`
|
note: required by a bound in `w::serialize`
|
||||||
--> tests/ui/with/incorrect_type.rs:9:28
|
--> 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);
|
15 | struct W(#[serde(with = "w")] u8, u8);
|
||||||
| ^^^ the trait `Serializer` is not implemented for `&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
|
error[E0308]: `?` operator has incompatible types
|
||||||
--> tests/ui/with/incorrect_type.rs:15:25
|
--> 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);
|
18 | struct S(#[serde(serialize_with = "w::serialize")] u8, u8);
|
||||||
| -------------- required by a bound introduced by this call
|
| -------------- 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`
|
note: required by a bound in `w::serialize`
|
||||||
--> tests/ui/with/incorrect_type.rs:9:28
|
--> 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);
|
18 | struct S(#[serde(serialize_with = "w::serialize")] u8, u8);
|
||||||
| ^^^^^^^^^^^^^^ the trait `Serializer` is not implemented for `&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
|
error[E0308]: `?` operator has incompatible types
|
||||||
--> tests/ui/with/incorrect_type.rs:21:37
|
--> tests/ui/with/incorrect_type.rs:21:37
|
||||||
|
|||||||
Reference in New Issue
Block a user