port to new Location
This commit is contained in:
parent
0ff128228f
commit
61c4f5b610
1 changed files with 1 additions and 1 deletions
|
|
@ -616,7 +616,7 @@ fn gather_moves<'a, 'tcx>(mir: &Mir<'tcx>, tcx: TyCtxt<'a, 'tcx, 'tcx>) -> MoveD
|
|||
|
||||
TerminatorKind::Return => {
|
||||
let source = Location { block: bb,
|
||||
index: bb_data.statements.len() };
|
||||
statement_index: bb_data.statements.len() };
|
||||
debug!("gather_moves Return on_move_out_lval return {:?}", source);
|
||||
bb_ctxt.on_move_out_lval(SK::Return, &Lvalue::ReturnPointer, source);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue