Skip to content

Commit a801b0b

Browse files
committed
adjust for fn rename
1 parent 60a0688 commit a801b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl<'mir, 'tcx> EvalContextExt<'tcx> for super::MiriEvalContext<'mir, 'tcx> {
3535
#[inline]
3636
fn pointer_inbounds(&self, ptr: Pointer<Tag>) -> InterpResult<'tcx> {
3737
let (size, _align) = self.memory().get_size_and_align(ptr.alloc_id, AllocCheck::Live)?;
38-
ptr.check_in_alloc(size, CheckInAllocMsg::InboundsTest)
38+
ptr.check_inbounds_alloc(size, CheckInAllocMsg::InboundsTest)
3939
}
4040

4141
fn binary_ptr_op(

0 commit comments

Comments
 (0)