Remove box syntax from rustc_mir_dataflow and rustc_mir_transform
This commit is contained in:
parent
4bb4dc4672
commit
99603ef074
4 changed files with 5 additions and 6 deletions
|
@ -192,12 +192,12 @@ impl<'tcx> InstCombineContext<'tcx, '_> {
|
|||
|
||||
statements.push(Statement {
|
||||
source_info: terminator.source_info,
|
||||
kind: StatementKind::Assign(box (
|
||||
kind: StatementKind::Assign(Box::new((
|
||||
destination_place,
|
||||
Rvalue::Use(Operand::Copy(
|
||||
arg_place.project_deeper(&[ProjectionElem::Deref], self.tcx),
|
||||
)),
|
||||
)),
|
||||
))),
|
||||
});
|
||||
terminator.kind = TerminatorKind::Goto { target: destination_block };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue