X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-c-bindings;a=blobdiff_plain;f=c-bindings-gen%2Fsrc%2Ftypes.rs;h=5fd874d3308ce04e362729d97dd13729115459e4;hp=c35b7aecf14034830d3b7eede68f05d3d5034dc5;hb=0ef1156801165f50037165350be565209b805d89;hpb=72503ca9301568cc9d53a295d2dbd115bcf19dd8 diff --git a/c-bindings-gen/src/types.rs b/c-bindings-gen/src/types.rs index c35b7ae..5fd874d 100644 --- a/c-bindings-gen/src/types.rs +++ b/c-bindings-gen/src/types.rs @@ -147,7 +147,7 @@ pub fn export_status(attrs: &[syn::Attribute]) -> ExportStatus { } pub fn assert_simple_bound(bound: &syn::TraitBound) { - if bound.paren_token.is_some() || bound.lifetimes.is_some() { unimplemented!(); } + if bound.paren_token.is_some() { unimplemented!(); } if let syn::TraitBoundModifier::Maybe(_) = bound.modifier { unimplemented!(); } }