mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Make CallSite
non-Copy
.
It doesn't need to be, and it's 72 bytes on 64-bit platforms, which is fairly large.
This commit is contained in:
parent
9cf90b9fc9
commit
7adde3f074
@ -36,7 +36,7 @@ const TOP_DOWN_DEPTH_LIMIT: usize = 5;
|
||||
// by custom rustc drivers, running all the steps by themselves. See #114628.
|
||||
pub struct Inline;
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
#[derive(Clone, Debug)]
|
||||
struct CallSite<'tcx> {
|
||||
callee: Instance<'tcx>,
|
||||
fn_sig: ty::PolyFnSig<'tcx>,
|
||||
|
Loading…
Reference in New Issue
Block a user