Skip to content

Commit b5398b1

Browse files
authored
Merge pull request #4166 from rust-lang/rustup-2025-01-31
Automatic Rustup
2 parents aaa8151 + 0fb1b8d commit b5398b1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5e5567993d8ee5f8b260cebe96f1714d134d1d96
1+
6c1d960d88dd3755548b3818630acb63fa98187e

src/intrinsics/simd.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
639639
let (right, right_len) = this.project_to_simd(right)?;
640640
let (dest, dest_len) = this.project_to_simd(dest)?;
641641

642-
let index =
643-
generic_args[2].expect_const().try_to_valtree().unwrap().0.unwrap_branch();
642+
let index = generic_args[2].expect_const().to_value().valtree.unwrap_branch();
644643
let index_len = index.len();
645644

646645
assert_eq!(left_len, right_len);

0 commit comments

Comments
 (0)