Allow liftime bounds on generic bounds
[ldk-c-bindings] / c-bindings-gen / src / types.rs
index c35b7aecf14034830d3b7eede68f05d3d5034dc5..5fd874d3308ce04e362729d97dd13729115459e4 100644 (file)
@@ -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!(); }
 }