Make PlaceRef lifetimes of closure_span be both 'tcx
This commit is contained in:
parent
bd4dad4281
commit
46d85e519b
1 changed files with 1 additions and 1 deletions
|
|
@ -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!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue