Make PlaceRef lifetimes of move_spans be both 'tcx
This commit is contained in:
parent
a30f55f4b2
commit
bd4dad4281
@ -694,7 +694,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
|
||||
/// Finds the spans associated to a move or copy of move_place at location.
|
||||
pub(super) fn move_spans(
|
||||
&self,
|
||||
moved_place: PlaceRef<'cx, 'tcx>, // Could also be an upvar.
|
||||
moved_place: PlaceRef<'tcx, 'tcx>, // Could also be an upvar.
|
||||
location: Location,
|
||||
) -> UseSpans {
|
||||
use self::UseSpans::*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user