mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-26 13:29:53 +00:00
Support empty adjacently tagged enum
This commit is contained in:
2 files changed
+20
-7
No files matched your search
@@ -588,6 +588,10 @@ fn test_gen() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[serde(tag = "t", content = "c")]
|
||||
enum AdjacentlyTaggedVoid {}
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user