Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 61c4f5b

Browse files
committedAug 18, 2016
port to new Location
1 parent 0ff1282 commit 61c4f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/librustc_borrowck/borrowck/mir/gather_moves.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ fn gather_moves<'a, 'tcx>(mir: &Mir<'tcx>, tcx: TyCtxt<'a, 'tcx, 'tcx>) -> MoveD
616616

617617
TerminatorKind::Return => {
618618
let source = Location { block: bb,
619-
index: bb_data.statements.len() };
619+
statement_index: bb_data.statements.len() };
620620
debug!("gather_moves Return on_move_out_lval return {:?}", source);
621621
bb_ctxt.on_move_out_lval(SK::Return, &Lvalue::ReturnPointer, source);
622622
}

0 commit comments

Comments
 (0)
Please sign in to comment.