]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir/src/borrow_check/mod.rs
Shrink the size of Rvalue by 16 bytes
[rust.git] / compiler / rustc_mir / src / borrow_check / mod.rs
index 375d464917118b10786e2c2b3460e6f42bff51fd..dcf3093baaf4165f586ff2589542f7a1aa85c4ad 100644 (file)
@@ -1316,8 +1316,8 @@ fn consume_rvalue(
                 );
             }
 
-            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, span), flow_state);
                 self.consume_operand(location, (operand2, span), flow_state);
             }