Generate mutable references in `default_generics` when relevant
authorMatt Corallo <git@bluematt.me>
Thu, 23 Jun 2022 16:13:06 +0000 (16:13 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Jun 2022 17:16:28 +0000 (17:16 +0000)
commitc98ebb54cc7f57f8c4c31d01ec69c81b172e49b1
tree16adf00b9ad23120ec66a7c92b99509d0d7b0815
parent550e354c720271341c34c0dc02599cba5046d047
Generate mutable references in `default_generics` when relevant

As we move towards resolving generics via the new `Type`-based
interface instead of the string-based one, we need to ensure we
retain the mutability flag when resolving references, which we do
here.
c-bindings-gen/src/blocks.rs
c-bindings-gen/src/types.rs