Remove Rvalue::CheckedBinaryOp

This commit is contained in:
Scott McMurray 2024-05-16 02:07:31 -07:00
parent 8e78d16804
commit 95c0e5c6a8
59 changed files with 209 additions and 212 deletions

View file

@ -1312,8 +1312,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
);
}
Rvalue::BinaryOp(_bin_op, box (operand1, operand2))
| Rvalue::CheckedBinaryOp(_bin_op, box (operand1, operand2)) => {
Rvalue::BinaryOp(_bin_op, box (operand1, operand2)) => {
self.consume_operand(location, (operand1, span), flow_state);
self.consume_operand(location, (operand2, span), flow_state);
}