serde/test_suite/tests/ui/default-attribute/nameless_struct_fields_path.stderr
2019-05-06 10:25:47 -07:00

6 lines
171 B
Plaintext

error: #[serde(default = "...")] can only be used on structs with named fields
--> $DIR/nameless_struct_fields_path.rs:5:9
|
5 | struct T(u8, u8);
| ^^^^^^^^