Skip to content

Commit 6f23650

Browse files
committed
Make PlaceRef lifetimes of add_moved_or_invoked_closure_note be both 'tcx
1 parent c6f1244 commit 6f23650

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
@@ -51,7 +51,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
5151
pub(super) fn add_moved_or_invoked_closure_note(
5252
&self,
5353
location: Location,
54-
place: PlaceRef<'cx, 'tcx>,
54+
place: PlaceRef<'tcx, 'tcx>,
5555
diag: &mut DiagnosticBuilder<'_>,
5656
) {
5757
debug!("add_moved_or_invoked_closure_note: location={:?} place={:?}", location, place);

0 commit comments

Comments
 (0)