diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-01-29 16:28:07 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-01-29 16:43:39 +0100 |
commit | 34b92160a7f6e65294a7b892fa46701d22c147ea (patch) | |
tree | 29e940d1cc00d108962d663136d0a57e0d7e9cda /src/codegen/impl_partialeq.rs | |
parent | 8725aea78fb312d678fc17088eb8ba5c883c720c (diff) |
codegen: Make forward declarations go through the more generic path.
Instead of special-casing.
This allows to use the normal flags to control what can be or not derived for
them.
Arguably deriving Copy / Clone is kind of busted for those, but changing this by
default broke tests (RefPtr<ForwardDeclaredType> stopped working for example).
So I think this is a good compromise.
Fixes #1238
Diffstat (limited to 'src/codegen/impl_partialeq.rs')
0 files changed, 0 insertions, 0 deletions