Skip to content

Commit cf78257

Browse files
committed
Make CallSite non-Copy.
It doesn't need to be, and it's 72 bytes on 64-bit platforms, which is fairly large.
1 parent 391cb2d commit cf78257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/inline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const TOP_DOWN_DEPTH_LIMIT: usize = 5;
3434

3535
pub(super) struct Inline;
3636

37-
#[derive(Copy, Clone, Debug)]
37+
#[derive(Clone, Debug)]
3838
struct CallSite<'tcx> {
3939
callee: Instance<'tcx>,
4040
fn_sig: ty::PolyFnSig<'tcx>,

0 commit comments

Comments
 (0)