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 02:26:57 +0000 (02:26 +0000)
commit3bbc1d19c315f0bb7fbe65933e509c03853a1d7e
tree27e4790fafc90cbc7f12d238194293f2030cda63
parent89e8588def64c2d1c46863ae8305d92f038e5db0
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