]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_ssa/mir/analyze.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / librustc_codegen_ssa / mir / analyze.rs
index 7bf222f4701b7ea70a8d1a52b44b929df7a7782b..04680a1751734de8e296a1acb51f05b252f6517f 100644 (file)
@@ -97,7 +97,7 @@ fn assign(&mut self, local: mir::Local, location: Location) {
 
     fn process_place(
         &mut self,
-        place_ref: &mir::PlaceRef<'_, 'tcx>,
+        place_ref: &mir::PlaceRef<'tcx>,
         context: PlaceContext,
         location: Location,
     ) {
@@ -203,7 +203,7 @@ fn process_place(
             }
 
             self.visit_place_base(&place_ref.local, context, location);
-            self.visit_projection(&place_ref.local, place_ref.projection, context, location);
+            self.visit_projection(place_ref.local, place_ref.projection, context, location);
         }
     }
 }