]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir/src/borrow_check/type_check/mod.rs
Shrink the size of Rvalue by 16 bytes
[rust.git] / compiler / rustc_mir / src / borrow_check / type_check / mod.rs
index aa946fdafa912f2e15996e993cdc4f2b36cd6bd3..4819e12517d2f77d15c75f95f86b1f74252bc8c9 100644 (file)
@@ -2299,8 +2299,7 @@ fn check_rvalue(&mut self, body: &Body<'tcx>, rvalue: &Rvalue<'tcx>, location: L
 
             Rvalue::BinaryOp(
                 BinOp::Eq | BinOp::Ne | BinOp::Lt | BinOp::Le | BinOp::Gt | BinOp::Ge,
-                left,
-                right,
+                box (left, right),
             ) => {
                 let ty_left = left.ty(body, tcx);
                 match ty_left.kind() {