Box AssertKind
This commit is contained in:
parent
dbba594575
commit
f08f903fa9
10 changed files with 13 additions and 13 deletions
|
@ -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,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue