This commit is contained in:
The Miri Conjob Bot 2023-09-21 05:40:21 +00:00
parent de5d1648b8
commit e6cd29d06e

View File

@ -88,10 +88,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
this.write_pointer(ptr, &place)?;
}
this.write_immediate(
Immediate::new_slice(alloc.ptr(), len, this),
dest,
)?;
this.write_immediate(Immediate::new_slice(alloc.ptr(), len, this), dest)?;
}
// storage for pointers is allocated by the caller
1 => {