Box AssertKind

This commit is contained in:
Ben Kimock 2023-05-01 18:30:54 -04:00
parent dbba594575
commit f08f903fa9
10 changed files with 13 additions and 13 deletions

View file

@ -224,10 +224,10 @@ fn insert_alignment_check<'tcx>(
cond: Operand::Copy(is_ok),
expected: true,
target: new_block,
msg: AssertKind::MisalignedPointerDereference {
msg: Box::new(AssertKind::MisalignedPointerDereference {
required: Operand::Copy(alignment),
found: Operand::Copy(addr),
},
}),
unwind: UnwindAction::Terminate,
},
});