XXX: support a thing
[ldk-c-bindings] / c-bindings-gen / src / types.rs
index 357fe4c815004a3ae775827a46ef3a34b013cc5b..0552633d69503a381f7c8c47a107fd63e0b49cec 100644 (file)
@@ -137,7 +137,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!(); }
 }