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: #[serde(tag = "...")] can only be used on enums and structs with named fields
--> $DIR/internally-tagged-tuple.rs:5:9
--> $DIR/tests/ui/struct-representation/internally-tagged-tuple.rs:5:9
|
5 | struct S(u8, u8);
| ^^^^^^^^
@@ -1,5 +1,5 @@
error: #[serde(tag = "...")] can only be used on enums and structs with named fields
--> $DIR/internally-tagged-unit.rs:3:10
--> $DIR/tests/ui/struct-representation/internally-tagged-unit.rs:3:10
|
3 | #[derive(Serialize)]
| ^^^^^^^^^