projects
/
ldk-c-bindings
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
483aa2c
)
Support resolving non-trivial bounds from parent generic contexts
author
Matt Corallo
<git@bluematt.me>
Sun, 31 Oct 2021 23:27:11 +0000
(23:27 +0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 2 Nov 2021 16:54:45 +0000
(16:54 +0000)
c-bindings-gen/src/types.rs
patch
|
blob
|
history
diff --git
a/c-bindings-gen/src/types.rs
b/c-bindings-gen/src/types.rs
index 14fd918e2be81cb267a01f08f18206bf0bbd1b7b..9f4d6a039569560620380c00e1625910250cf8df 100644
(file)
--- 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 }
}
}