From a23f69b5a60a3dd368e2be116032f1f97e4c33fb Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 31 Oct 2021 23:27:11 +0000 Subject: [PATCH] Support resolving non-trivial bounds from parent generic contexts --- c-bindings-gen/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } } } -- 2.39.5