fmt
This commit is contained in:
parent
6e06c49954
commit
654ad5230a
1 changed files with 2 additions and 4 deletions
|
|
@ -643,10 +643,8 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
|
|||
assert_eq!(index_len as u64, dest_len);
|
||||
|
||||
for i in 0..dest_len {
|
||||
let src_index: u64 = index[usize::try_from(i).unwrap()]
|
||||
.unwrap_leaf()
|
||||
.to_u32()
|
||||
.into();
|
||||
let src_index: u64 =
|
||||
index[usize::try_from(i).unwrap()].unwrap_leaf().to_u32().into();
|
||||
let dest = this.project_index(&dest, i)?;
|
||||
|
||||
let val = if src_index < left_len {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue