Skip to content

Commit

Permalink
port to new Location
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcarr committed Aug 18, 2016
1 parent 0ff1282 commit 61c4f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_borrowck/borrowck/mir/gather_moves.rs
Expand Up @@ -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);
}
Expand Down

0 comments on commit 61c4f5b

Please sign in to comment.