Support printing impl generics without an immediate bound
authorMatt Corallo <git@bluematt.me>
Sun, 31 Oct 2021 18:06:42 +0000 (18:06 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 2 Nov 2021 16:54:45 +0000 (16:54 +0000)
commit18dc4eff64fcad567e67dfe11c501a9b4ec7633e
treecbdf9bce3cb357eb56bf5f217ffdfa8d42bccaf2
parent6a5a6d6d70321bb67c79de49a9b8b1469198f440
Support printing impl generics without an immediate bound

(e.g. if you have `fn <A> ... where A: Trait` we'd not have printed
`<A>`)

This further supports printing impl generics with a reference to a
struct (not a trait), which we concretize with a regular reference.
c-bindings-gen/src/blocks.rs
c-bindings-gen/src/types.rs