]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
XXX: support a thing
authorMatt Corallo <git@bluematt.me>
Sun, 31 Oct 2021 23:18:42 +0000 (23:18 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 2 Nov 2021 17:09:34 +0000 (17:09 +0000)
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!(); }
 }