Skip to content

Commit e9c73ea

Browse files
committed
Make name more explicit.
1 parent 4f13aa7 commit e9c73ea

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_codegen_ssa/src/mir

1 file changed

+2
-2
lines changed

compiler/rustc_codegen_ssa/src/mir/block.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,12 +566,12 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
566566
// another crate (mostly core::num generic/#[inline] fns),
567567
// while the current crate doesn't use overflow checks.
568568
if !bx.cx().check_overflow() {
569-
let unchecked_overflow = match msg {
569+
let overflow_not_to_check = match msg {
570570
AssertKind::OverflowNeg(..) => true,
571571
AssertKind::Overflow(op, ..) => op.is_checkable(),
572572
_ => false,
573573
};
574-
if unchecked_overflow {
574+
if overflow_not_to_check {
575575
const_cond = Some(expected);
576576
}
577577
}

0 commit comments

Comments
 (0)