mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 18:27:54 +00:00
Update ui test files
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
error: unknown serde field attribute `serialize`
|
||||
--> $DIR/rename-and-ser.rs:5:27
|
||||
--> $DIR/tests/ui/duplicate-attribute/rename-and-ser.rs:5:27
|
||||
|
|
||||
5 | #[serde(rename = "x", serialize = "y")]
|
||||
| ^^^^^^^^^
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: duplicate serde attribute `rename`
|
||||
--> $DIR/rename-ser-rename-ser.rs:5:38
|
||||
--> $DIR/tests/ui/duplicate-attribute/rename-ser-rename-ser.rs:5:38
|
||||
|
|
||||
5 | #[serde(rename(serialize = "x"), rename(serialize = "y"))]
|
||||
| ^^^^^^
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: duplicate serde attribute `rename`
|
||||
--> $DIR/rename-ser-rename.rs:6:13
|
||||
--> $DIR/tests/ui/duplicate-attribute/rename-ser-rename.rs:6:13
|
||||
|
|
||||
6 | #[serde(rename = "y")]
|
||||
| ^^^^^^
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: duplicate serde attribute `rename`
|
||||
--> $DIR/rename-ser-ser.rs:5:37
|
||||
--> $DIR/tests/ui/duplicate-attribute/rename-ser-ser.rs:5:37
|
||||
|
|
||||
5 | #[serde(rename(serialize = "x", serialize = "y"))]
|
||||
| ^^^^^^^^^
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: duplicate serde attribute `rename`
|
||||
--> $DIR/two-rename-ser.rs:6:13
|
||||
--> $DIR/tests/ui/duplicate-attribute/two-rename-ser.rs:6:13
|
||||
|
|
||||
6 | #[serde(rename(serialize = "y"))]
|
||||
| ^^^^^^
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: duplicate serde attribute `serialize_with`
|
||||
--> $DIR/with-and-serialize-with.rs:5:25
|
||||
--> $DIR/tests/ui/duplicate-attribute/with-and-serialize-with.rs:5:25
|
||||
|
|
||||
5 | #[serde(with = "w", serialize_with = "s")]
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user