Skip to content

Commit 09edbf7

Browse files
committed
adjust for fn rename
1 parent f8453ad commit 09edbf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl<'mir, 'tcx> EvalContextExt<'tcx> for super::MiriEvalContext<'mir, 'tcx> {
4343
#[inline]
4444
fn pointer_inbounds(&self, ptr: Pointer<Tag>) -> InterpResult<'tcx> {
4545
let (size, _align) = self.memory().get_size_and_align(ptr.alloc_id, AllocCheck::Live)?;
46-
ptr.check_in_alloc(size, CheckInAllocMsg::InboundsTest)
46+
ptr.check_inbounds_alloc(size, CheckInAllocMsg::InboundsTest)
4747
}
4848

4949
fn ptr_op(

0 commit comments

Comments
 (0)