Skip to content

Commit

Permalink
Make PlaceRef lifetimes of closure_span be both 'tcx
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Mar 4, 2020
1 parent bd4dad4 commit 46d85e5
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 @@ -782,7 +782,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
fn closure_span(
&self,
def_id: DefId,
target_place: PlaceRef<'cx, 'tcx>,
target_place: PlaceRef<'tcx, 'tcx>,
places: &Vec<Operand<'tcx>>,
) -> Option<(Span, Option<GeneratorKind>, Span)> {
debug!(
Expand Down

0 comments on commit 46d85e5

Please sign in to comment.