Skip to content

Commit 2a3ce5d

Browse files
committed
there is no 'align_of_val' intrinsic
1 parent fd0957f commit 2a3ce5d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/shims/intrinsics.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
444444
}
445445
}
446446

447-
#[rustfmt::skip]
448-
| "min_align_of_val"
449-
| "align_of_val"
450-
=> {
447+
"min_align_of_val" => {
451448
let mplace = this.deref_operand(args[0])?;
452449
let (_, align) = this
453450
.size_and_align_of_mplace(mplace)?

0 commit comments

Comments
 (0)