Remove in_band_lifetimes from borrowck
This commit is contained in:
parent
195e931b02
commit
e837101890
15 changed files with 32 additions and 33 deletions
|
@ -1598,8 +1598,8 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
|
|||
location: Location,
|
||||
mpi: MovePathIndex,
|
||||
) -> (Vec<MoveSite>, Vec<Location>) {
|
||||
fn predecessor_locations(
|
||||
body: &'a mir::Body<'tcx>,
|
||||
fn predecessor_locations<'a>(
|
||||
body: &'a mir::Body<'_>,
|
||||
location: Location,
|
||||
) -> impl Iterator<Item = Location> + 'a {
|
||||
if location.statement_index == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue