Handle traits which require Clone when their supertraits do not
authorMatt Corallo <git@bluematt.me>
Mon, 12 Apr 2021 02:14:26 +0000 (22:14 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 12 Apr 2021 02:40:36 +0000 (22:40 -0400)
commitc0c17650327b5aedba389bd7428358e29670506e
tree88a673999cc950eb3fc9baf330eca2e24ac1579b
parent1a31801f2d38663b22ac044ec9bd0b41aa1a02f9
Handle traits which require Clone when their supertraits do not

We do this by adding a SuperTrait_clone method field in the Trait's
object, which we call when cloning the Trait.
c-bindings-gen/src/main.rs