Skip to content

Commit 61c4f5b

Browse files
committed
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

+1-1
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)