mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 03:06:22 +00:00
Update ui test files
This commit is contained in:
96 files changed
+103
-103
No files matched your search
@@ -1,5 +1,5 @@
|
||||
error: #[serde(default)] can only be used on structs with named fields
|
||||
--> $DIR/enum.rs:5:1
|
||||
--> $DIR/tests/ui/default-attribute/enum.rs:5:1
|
||||
|
|
||||
5 | enum E {
|
||||
| ^^^^
|
||||
@@ -1,5 +1,5 @@
|
||||
error: #[serde(default = "...")] can only be used on structs with named fields
|
||||
--> $DIR/enum_path.rs:5:1
|
||||
--> $DIR/tests/ui/default-attribute/enum_path.rs:5:1
|
||||
|
|
||||
5 | enum E {
|
||||
| ^^^^
|
||||
@@ -1,5 +1,5 @@
|
||||
error: #[serde(default)] can only be used on structs with named fields
|
||||
--> $DIR/nameless_struct_fields.rs:5:9
|
||||
--> $DIR/tests/ui/default-attribute/nameless_struct_fields.rs:5:9
|
||||
|
|
||||
5 | struct T(u8, u8);
|
||||
| ^^^^^^^^
|
||||
@@ -1,5 +1,5 @@
|
||||
error: #[serde(default = "...")] can only be used on structs with named fields
|
||||
--> $DIR/nameless_struct_fields_path.rs:5:9
|
||||
--> $DIR/tests/ui/default-attribute/nameless_struct_fields_path.rs:5:9
|
||||
|
|
||||
5 | struct T(u8, u8);
|
||||
| ^^^^^^^^
|
||||
Reference in new issue
Block a user