6 lines
184 B
Plaintext
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")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|