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

6 lines
132 B
Plaintext

error: #[serde(default = "...")] can only be used on structs with named fields
--> $DIR/enum_path.rs:5:1
|
5 | enum E {
| ^^^^