Skip TaggedField for now as enum { A(A) } is broken in Java

... due to A and A aliasing each other.
This commit is contained in:
Matt Corallo 2021-04-29 16:41:23 +00:00
parent 246493f300
commit 2242b621fd

View file

@ -332,6 +332,8 @@ pub enum Currency {
} }
/// Tagged field which may have an unknown tag /// Tagged field which may have an unknown tag
///
/// (C-not exported) as we don't currently support TaggedField
#[derive(Eq, PartialEq, Debug, Clone)] #[derive(Eq, PartialEq, Debug, Clone)]
pub enum RawTaggedField { pub enum RawTaggedField {
/// Parsed tagged field with known tag /// Parsed tagged field with known tag
@ -343,6 +345,9 @@ pub enum RawTaggedField {
/// Tagged field with known tag /// Tagged field with known tag
/// ///
/// For descriptions of the enum values please refer to the enclosed type's docs. /// For descriptions of the enum values please refer to the enclosed type's docs.
///
/// (C-not exported) As we don't yet support enum variants with the same name the struct contained
/// in the variant.
#[allow(missing_docs)] #[allow(missing_docs)]
#[derive(Eq, PartialEq, Debug, Clone)] #[derive(Eq, PartialEq, Debug, Clone)]
pub enum TaggedField { pub enum TaggedField {