mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 13:47:58 +00:00
Allow #[serde(default)] on tuple structs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
error: #[serde(default)] can only be used on structs with named fields
|
||||
error: #[serde(default)] can only be used on structs with fields
|
||||
--> tests/ui/default-attribute/enum.rs:4:9
|
||||
|
|
||||
4 | #[serde(default)]
|
||||
|
||||
Reference in New Issue
Block a user