Ui test changes for trybuild 1.0.49

This commit is contained in:
David Tolnay
2021-10-08 02:46:15 -04:00
parent efbe574209
commit 999c261d11
97 changed files with 104 additions and 104 deletions
@@ -1,5 +1,5 @@
error: #[serde(tag = "...")] can only be used on enums and structs with named fields
--> $DIR/tests/ui/struct-representation/internally-tagged-tuple.rs:5:9
--> 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/tests/ui/struct-representation/internally-tagged-unit.rs:3:10
--> tests/ui/struct-representation/internally-tagged-unit.rs:3:10
|
3 | #[derive(Serialize)]
| ^^^^^^^^^