Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 5a76e9f

Browse files
committed
Auto merge of rust-lang#2217 - RalfJung:rustup, r=RalfJung
rustup
2 parents b8d5ee0 + 657386c commit 5a76e9f

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-
e45d9973b2665897a768312e971b82cc62633103
1+
09d52bc5d4260bac8b9a2ea8ac7a07c5c72906f1

src/machine.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,8 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
678678
fn ptr_from_addr_cast(
679679
ecx: &MiriEvalContext<'mir, 'tcx>,
680680
addr: u64,
681-
) -> Pointer<Option<Self::PointerTag>> {
682-
intptrcast::GlobalStateInner::ptr_from_addr_cast(ecx, addr)
681+
) -> InterpResult<'tcx, Pointer<Option<Self::PointerTag>>> {
682+
Ok(intptrcast::GlobalStateInner::ptr_from_addr_cast(ecx, addr))
683683
}
684684

685685
#[inline(always)]

0 commit comments

Comments
 (0)