serde/test_suite/tests/ui/default-attribute/enum.stderr
2021-10-08 02:46:15 -04:00

6 lines
141 B
Plaintext

error: #[serde(default)] can only be used on structs with named fields
--> tests/ui/default-attribute/enum.rs:5:1
|
5 | enum E {
| ^^^^