Skip to content

Commit 7af21f9

Browse files
committed
Auto merge of #136318 - matthiaskrgr:rollup-a159mzo, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - #135026 (Cast global variables to default address space) - #135475 (uefi: Implement path) - #135852 (Add `AsyncFn*` to `core` prelude) - #136004 (tests: Skip const OOM tests on aarch64-unknown-linux-gnu) - #136157 (override build profile for bootstrap tests) - #136180 (Introduce a wrapper for "typed valtrees" and properly check the type before extracting the value) - #136256 (Add release notes for 1.84.1) - #136271 (Remove minor future footgun in `impl Debug for MaybeUninit`) - #136288 (Improve documentation for file locking) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 4ef9fd0 + b28637f commit 7af21f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/intrinsics/simd.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
640640
let (dest, dest_len) = this.project_to_simd(dest)?;
641641

642642
let index =
643-
generic_args[2].expect_const().try_to_valtree().unwrap().0.unwrap_branch();
643+
generic_args[2].expect_const().to_value().valtree.unwrap_branch();
644644
let index_len = index.len();
645645

646646
assert_eq!(left_len, right_len);

0 commit comments

Comments
 (0)