mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 22:58:02 +00:00
Update ui test files
This commit is contained in:
@@ -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)]
|
||||
| ^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user