serde/test_suite/tests/ui/default-attribute/enum_path.stderr
2023-08-05 22:13:09 -07:00

6 lines
184 B
Plaintext

error: #[serde(default = "...")] can only be used on structs
--> tests/ui/default-attribute/enum_path.rs:4:9
|
4 | #[serde(default = "default_e")]
| ^^^^^^^^^^^^^^^^^^^^^