Skip to content

Commit d420b02

Browse files
committed
minor fix
1 parent b3f7d2f commit d420b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/src/shims/native_lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ fn imm_to_carg<'tcx>(v: ImmTy<'tcx>, cx: &impl HasDataLayout) -> InterpResult<'t
240240
ty::RawPtr(..) => {
241241
let s = v.to_scalar().to_pointer(cx)?.addr();
242242
// This relies on the `expose_provenance` in `addr_from_alloc_id`.
243-
CArg::RawPtr(ptr::with_exposed_provenance_mut(s.bytes_usize()))
243+
CArg::RawPtr(std::ptr::with_exposed_provenance_mut(s.bytes_usize()))
244244
},
245245
_ => throw_unsup_format!("unsupported argument type for native call: {}", v.layout.ty),
246246
})

0 commit comments

Comments
 (0)