Skip to content

Commit 2242b62

Browse files
committed
Skip TaggedField for now as enum { A(A) } is broken in Java
... due to A and A aliasing each other.
1 parent 246493f commit 2242b62

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning-invoice/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ pub enum Currency {
332332
}
333333

334334
/// Tagged field which may have an unknown tag
335+
///
336+
/// (C-not exported) as we don't currently support TaggedField
335337
#[derive(Eq, PartialEq, Debug, Clone)]
336338
pub enum RawTaggedField {
337339
/// Parsed tagged field with known tag
@@ -343,6 +345,9 @@ pub enum RawTaggedField {
343345
/// Tagged field with known tag
344346
///
345347
/// For descriptions of the enum values please refer to the enclosed type's docs.
348+
///
349+
/// (C-not exported) As we don't yet support enum variants with the same name the struct contained
350+
/// in the variant.
346351
#[allow(missing_docs)]
347352
#[derive(Eq, PartialEq, Debug, Clone)]
348353
pub enum TaggedField {

0 commit comments

Comments
 (0)