Skip to content

Commit bd4dad4

Browse files
committed
Make PlaceRef lifetimes of move_spans be both 'tcx
1 parent a30f55f commit bd4dad4

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_mir/borrow_check/diagnostics

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/diagnostics/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
694694
/// Finds the spans associated to a move or copy of move_place at location.
695695
pub(super) fn move_spans(
696696
&self,
697-
moved_place: PlaceRef<'cx, 'tcx>, // Could also be an upvar.
697+
moved_place: PlaceRef<'tcx, 'tcx>, // Could also be an upvar.
698698
location: Location,
699699
) -> UseSpans {
700700
use self::UseSpans::*;

0 commit comments

Comments
 (0)