Skip to content

Commit 0709693

Browse files
author
The Miri Conjob Bot
committed
fmt
1 parent b700dc7 commit 0709693

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/shims/intrinsics/simd.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,8 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
528528
assert_eq!(dest_len, mask_len);
529529

530530
for i in 0..dest_len {
531-
let passthru = this.read_immediate(&this.project_index(&passthru, i)?.into())?;
531+
let passthru =
532+
this.read_immediate(&this.project_index(&passthru, i)?.into())?;
532533
let ptr = this.read_immediate(&this.project_index(&ptrs, i)?.into())?;
533534
let mask = this.read_immediate(&this.project_index(&mask, i)?.into())?;
534535
let dest = this.project_index(&dest, i)?;

tests/pass/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! Tests for various intrinsics that do not fit anywhere else.
44
55
use std::intrinsics;
6-
use std::mem::{size_of, size_of_val, size_of_val_raw, discriminant};
6+
use std::mem::{discriminant, size_of, size_of_val, size_of_val_raw};
77

88
struct Bomb;
99

0 commit comments

Comments
 (0)