Introduce NullOp::AlignOf
This commit is contained in:
parent
b69fe57261
commit
1c3409f333
13 changed files with 54 additions and 33 deletions
|
@ -648,7 +648,7 @@ impl Visitor<'tcx> for Checker<'mir, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
Rvalue::NullaryOp(NullOp::SizeOf, _) => {}
|
||||
Rvalue::NullaryOp(NullOp::SizeOf | NullOp::AlignOf, _) => {}
|
||||
Rvalue::NullaryOp(NullOp::Box, _) => self.check_op(ops::HeapAllocation),
|
||||
|
||||
Rvalue::UnaryOp(_, ref operand) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue