We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4ef9fd0 + b28637f commit 7af21f9Copy full SHA for 7af21f9
src/intrinsics/simd.rs
@@ -640,7 +640,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
640
let (dest, dest_len) = this.project_to_simd(dest)?;
641
642
let index =
643
- generic_args[2].expect_const().try_to_valtree().unwrap().0.unwrap_branch();
+ generic_args[2].expect_const().to_value().valtree.unwrap_branch();
644
let index_len = index.len();
645
646
assert_eq!(left_len, right_len);
0 commit comments