mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 21:37:57 +00:00
Initial work to support serialization of adjacently tagged enums.
This commit is contained in:
@@ -502,6 +502,9 @@ fn deserialize_item_enum(type_ident: &syn::Ident,
|
||||
item_attrs,
|
||||
tag)
|
||||
}
|
||||
attr::EnumTag::Adjacent(ref tag, ref content) => {
|
||||
panic!("FIXME: unimplemented")
|
||||
}
|
||||
attr::EnumTag::None => {
|
||||
deserialize_untagged_enum(type_ident, impl_generics, ty, variants, item_attrs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user