Update ui test files

This commit is contained in:
David Tolnay
2021-10-07 00:56:29 -04:00
parent 33b2677384
commit efbe574209
96 changed files with 103 additions and 103 deletions
@@ -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")]
| ^^^^^^^^^^^^^^