]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir/src/borrow_check/invalidation.rs
Shrink the size of Rvalue by 16 bytes
[rust.git] / compiler / rustc_mir / src / borrow_check / invalidation.rs
index 8c05e6fd5d0e4bf32bba4987f59b123241efa96b..54ef78137a8f424b5f6e37a463e5ec96a1f9eca7 100644 (file)
@@ -326,8 +326,8 @@ fn consume_rvalue(&mut self, location: Location, rvalue: &Rvalue<'tcx>) {
                 );
             }
 
-            Rvalue::BinaryOp(_bin_op, ref operand1, ref operand2)
-            | Rvalue::CheckedBinaryOp(_bin_op, ref operand1, ref operand2) => {
+            Rvalue::BinaryOp(_bin_op, box (ref operand1, ref operand2))
+            | Rvalue::CheckedBinaryOp(_bin_op, box (ref operand1, ref operand2)) => {
                 self.consume_operand(location, operand1);
                 self.consume_operand(location, operand2);
             }