]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #99309 - RalfJung:no-large-copies, r=oli-obk
authorbors <bors@rust-lang.org>
Tue, 19 Jul 2022 16:33:45 +0000 (16:33 +0000)
committerbors <bors@rust-lang.org>
Tue, 19 Jul 2022 16:33:45 +0000 (16:33 +0000)
commit29c5a028b0c92aa5da6a8eb6d6585a389fcf1035
tree5024665390c7f1c62f831487f5dd96ac461ee9d9
parenta289cfcfb32593c63d75f113547f63ffe2dde285
parent213a25d975e06fcba28c2e6aab829ef9f16617cf
Auto merge of #99309 - RalfJung:no-large-copies, r=oli-obk

interpret: make some large types not Copy

Also remove some unused trait impls (mostly HashStable).

This didn't find any unnecessary copies that I managed to avoid, but it might still be better to require explicit clone for these types? Not sure.

r? `@oli-obk`
compiler/rustc_const_eval/src/interpret/intrinsics.rs
compiler/rustc_const_eval/src/interpret/visitor.rs