Skip to content

Commit

Permalink
Make PlaceRef lifetimes of add_moved_or_invoked_closure_note be both …
Browse files Browse the repository at this point in the history
…'tcx
  • Loading branch information
spastorino committed Mar 4, 2020
1 parent c6f1244 commit 6f23650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/borrow_check/diagnostics/mod.rs
Expand Up @@ -51,7 +51,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
pub(super) fn add_moved_or_invoked_closure_note(
&self,
location: Location,
place: PlaceRef<'cx, 'tcx>,
place: PlaceRef<'tcx, 'tcx>,
diag: &mut DiagnosticBuilder<'_>,
) {
debug!("add_moved_or_invoked_closure_note: location={:?} place={:?}", location, place);
Expand Down

0 comments on commit 6f23650

Please sign in to comment.