Make PlaceRef lifetimes of move_path_for_place be both 'tcx
This commit is contained in:
parent
e32ee55a36
commit
634a167e05
1 changed files with 1 additions and 1 deletions
|
|
@ -1723,7 +1723,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
fn move_path_for_place(&mut self, place: PlaceRef<'_, 'tcx>) -> Option<MovePathIndex> {
|
||||
fn move_path_for_place(&mut self, place: PlaceRef<'tcx, 'tcx>) -> Option<MovePathIndex> {
|
||||
// If returns None, then there is no move path corresponding
|
||||
// to a direct owner of `place` (which means there is nothing
|
||||
// that borrowck tracks for its analysis).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue