Skip to content

Commit 46d85e5

Browse files
committed
Make PlaceRef lifetimes of closure_span be both 'tcx
1 parent bd4dad4 commit 46d85e5

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
@@ -782,7 +782,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
782782
fn closure_span(
783783
&self,
784784
def_id: DefId,
785-
target_place: PlaceRef<'cx, 'tcx>,
785+
target_place: PlaceRef<'tcx, 'tcx>,
786786
places: &Vec<Operand<'tcx>>,
787787
) -> Option<(Span, Option<GeneratorKind>, Span)> {
788788
debug!(

0 commit comments

Comments
 (0)