Make PlaceRef lifetimes of closure_span be both 'tcx
This commit is contained in:
parent
bd4dad4281
commit
46d85e519b
@ -782,7 +782,7 @@ pub(super) fn borrow_spans(&self, use_span: Span, location: Location) -> UseSpan
|
||||
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!(
|
||||
|
Loading…
Reference in New Issue
Block a user