Include the `where` clause from a "real" type when mapping type aliases
authorMatt Corallo <git@bluematt.me>
Mon, 30 May 2022 23:51:54 +0000 (23:51 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 27 Jun 2022 15:51:05 +0000 (15:51 +0000)
commitd20bd908efc5c74d31c61dfc39660b8c62588687
tree5754868eb452fd8859fee8fe4887bba6bd61a150
parent3ca05599355f3d0c77ace44b8aa0530c7f4308db
Include the `where` clause from a "real" type when mapping type aliases

ie if we have a
```
struct A<T: Deref> where T::Target: Trait {}
pub type B<T> = A<T>;
```

this includes the `where` clause so that we end up calling
`writeln_opaque` for `struct B<T: Deref> where T::Target: Trait {}`
instead of `struct B<T: Deref> {}`.
c-bindings-gen/src/main.rs