Skip to content

Commit d93dd62

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 be38291 commit d93dd62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/inline.rs

+1-1
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)