Skip to content

Commit 6bd7151

Browse files
committed
Auto merge of #2793 - RalfJung:rustup, r=RalfJung
Rustup
2 parents d14500b + 566c1b1 commit 6bd7151

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3eb5c4581a386b13c414e8c8bd73846ef37236d1
1+
7e253a7fb2e2e050021fed32da6fa2ec7bcea0fb

src/machine.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -821,8 +821,8 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
821821
}
822822

823823
#[inline(always)]
824-
fn checked_binop_checks_overflow(ecx: &MiriInterpCx<'mir, 'tcx>) -> bool {
825-
ecx.tcx.sess.overflow_checks()
824+
fn ignore_checkable_overflow_assertions(ecx: &MiriInterpCx<'mir, 'tcx>) -> bool {
825+
!ecx.tcx.sess.overflow_checks()
826826
}
827827

828828
#[inline(always)]

0 commit comments

Comments
 (0)