From: Matt Corallo Date: Sun, 31 Oct 2021 23:27:11 +0000 (+0000) Subject: Support resolving non-trivial bounds from parent generic contexts X-Git-Tag: v0.0.103.0^2~12 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=a23f69b5a60a3dd368e2be116032f1f97e4c33fb;p=ldk-c-bindings Support resolving non-trivial bounds from parent generic contexts --- diff --git a/c-bindings-gen/src/types.rs b/c-bindings-gen/src/types.rs index 14fd918..9f4d6a0 100644 --- a/c-bindings-gen/src/types.rs +++ b/c-bindings-gen/src/types.rs @@ -371,8 +371,8 @@ impl<'a, 'b, 'c: 'a + 'b> ResolveType<'c> for Option<&GenericTypes<'a, 'b>> { } _ => {}, } - } - ty + us.parent.resolve_type(ty) + } else { ty } } }