]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs
Remove in_band_lifetimes from borrowck
[rust.git] / compiler / rustc_borrowck / src / diagnostics / conflict_errors.rs
index 98c619cdd291ccd488c81f5fe41f6bcb75a1cce6..ab9ecec9715d9e4cbe6a4427813f263ee6176343 100644 (file)
@@ -1598,8 +1598,8 @@ fn get_moved_indexes(
         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 {