mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Make PlaceRef lifetimes of add_moved_or_invoked_closure_note be both 'tcx
This commit is contained in:
parent
c6f1244719
commit
6f23650457
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user