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>
Fri, 24 Jun 2022 21:27:19 +0000 (21:27 +0000)
commit83bfbaac7e34688fda82d4b2dc8fb94967c394be
treec6e651d33440e011e5a4fd4710efe2fe3675620e
parent881edcf972ef61892b191a16942f93e76e28f7f6
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