]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir/src/transform/lower_intrinsics.rs
Shrink the size of Rvalue by 16 bytes
[rust.git] / compiler / rustc_mir / src / transform / lower_intrinsics.rs
index f5968532eb39695d0700f24ab26863afcc416a52..177b00b00da36da564a1e9a23b2c70166b12d3fe 100644 (file)
@@ -59,7 +59,7 @@ fn run_pass(&self, tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
                                 source_info: terminator.source_info,
                                 kind: StatementKind::Assign(box (
                                     destination,
-                                    Rvalue::BinaryOp(bin_op, lhs, rhs),
+                                    Rvalue::BinaryOp(bin_op, box (lhs, rhs)),
                                 )),
                             });
                             terminator.kind = TerminatorKind::Goto { target };