@@ -923,14 +923,14 @@ impl<'tcx> Map<'tcx> {
923
923
}
924
924
}
925
925
926
- struct PlaceCollector < ' a , ' b , ' tcx > {
926
+ struct PlaceCollector < ' mir , ' tcx > {
927
927
tcx : TyCtxt < ' tcx > ,
928
- body : & ' b Body < ' tcx > ,
929
- map : & ' a mut Map < ' tcx > ,
928
+ body : & ' mir Body < ' tcx > ,
929
+ map : & ' mir mut Map < ' tcx > ,
930
930
assignments : FxIndexSet < ( PlaceIndex , PlaceIndex ) > ,
931
931
}
932
932
933
- impl < ' tcx > PlaceCollector < ' _ , ' _ , ' tcx > {
933
+ impl < ' tcx > PlaceCollector < ' _ , ' tcx > {
934
934
#[ tracing:: instrument( level = "trace" , skip( self ) ) ]
935
935
fn register_place ( & mut self , place : Place < ' tcx > ) -> Option < PlaceIndex > {
936
936
// Create a place for this projection.
@@ -967,7 +967,7 @@ impl<'tcx> PlaceCollector<'_, '_, 'tcx> {
967
967
}
968
968
}
969
969
970
- impl < ' tcx > Visitor < ' tcx > for PlaceCollector < ' _ , ' _ , ' tcx > {
970
+ impl < ' tcx > Visitor < ' tcx > for PlaceCollector < ' _ , ' tcx > {
971
971
#[ tracing:: instrument( level = "trace" , skip( self ) ) ]
972
972
fn visit_place ( & mut self , place : & Place < ' tcx > , ctxt : PlaceContext , _: Location ) {
973
973
if !ctxt. is_use ( ) {
0 commit comments