diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-01-29 12:43:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-29 12:43:06 -0600 |
commit | ce7e69bfbc5a6e47eb1d9ee4f0b43a5afeef0f31 (patch) | |
tree | 3dc2495a404344fe1b91f08fec4bc0a0b276bb37 /src/codegen/impl_partialeq.rs | |
parent | 6adb00247896c7c1102e14c8a87d6a1a2e9031f9 (diff) | |
parent | 34b92160a7f6e65294a7b892fa46701d22c147ea (diff) |
Auto merge of #1241 - emilio:fwd-decl-no-fun, r=fitzgen
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