File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -465,14 +465,14 @@ fn codegen_stmt<'tcx>(
465
465
let val = crate :: constant:: codegen_tls_ref ( fx, def_id, lval. layout ( ) ) ;
466
466
lval. write_cvalue ( fx, val) ;
467
467
}
468
- Rvalue :: BinaryOp ( bin_op, ref lhs, ref rhs) => {
468
+ Rvalue :: BinaryOp ( bin_op, box ( ref lhs, ref rhs) ) => {
469
469
let lhs = codegen_operand ( fx, lhs) ;
470
470
let rhs = codegen_operand ( fx, rhs) ;
471
471
472
472
let res = crate :: num:: codegen_binop ( fx, bin_op, lhs, rhs) ;
473
473
lval. write_cvalue ( fx, res) ;
474
474
}
475
- Rvalue :: CheckedBinaryOp ( bin_op, ref lhs, ref rhs) => {
475
+ Rvalue :: CheckedBinaryOp ( bin_op, box ( ref lhs, ref rhs) ) => {
476
476
let lhs = codegen_operand ( fx, lhs) ;
477
477
let rhs = codegen_operand ( fx, rhs) ;
478
478
Original file line number Diff line number Diff line change 5
5
associated_type_bounds,
6
6
never_type,
7
7
try_blocks,
8
+ box_patterns,
8
9
hash_drain_filter
9
10
) ]
10
11
#![ warn( rust_2018_idioms) ]
You can’t perform that action at this time.
0 commit comments