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
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ const TOP_DOWN_DEPTH_LIMIT: usize = 5;
|
||||||
// by custom rustc drivers, running all the steps by themselves. See #114628.
|
// by custom rustc drivers, running all the steps by themselves. See #114628.
|
||||||
pub struct Inline;
|
pub struct Inline;
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
struct CallSite<'tcx> {
|
struct CallSite<'tcx> {
|
||||||
callee: Instance<'tcx>,
|
callee: Instance<'tcx>,
|
||||||
fn_sig: ty::PolyFnSig<'tcx>,
|
fn_sig: ty::PolyFnSig<'tcx>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue