@@ -163,13 +163,6 @@ macro_rules! make_mir_visitor {
163163 self . super_place( place, context, location) ;
164164 }
165165
166- fn visit_place_base( & mut self ,
167- local: & $( $mutability) ? Local ,
168- context: PlaceContext ,
169- location: Location ) {
170- self . super_place_base( local, context, location) ;
171- }
172-
173166 visit_place_fns!( $( $mutability) ?) ;
174167
175168 fn visit_constant( & mut self ,
@@ -710,13 +703,6 @@ macro_rules! make_mir_visitor {
710703 ) ;
711704 }
712705
713- fn super_place_base( & mut self ,
714- local: & $( $mutability) ? Local ,
715- context: PlaceContext ,
716- location: Location ) {
717- self . visit_local( local, context, location) ;
718- }
719-
720706 fn super_local_decl( & mut self ,
721707 local: Local ,
722708 local_decl: & $( $mutability) ? LocalDecl <' tcx>) {
@@ -847,7 +833,7 @@ macro_rules! visit_place_fns {
847833 context: PlaceContext ,
848834 location: Location ,
849835 ) {
850- self . visit_place_base ( & mut place. local, context, location) ;
836+ self . visit_local ( & mut place. local, context, location) ;
851837
852838 if let Some ( new_projection) = self . process_projection( & place. projection, location) {
853839 place. projection = self . tcx( ) . intern_place_elems( & new_projection) ;
@@ -936,7 +922,7 @@ macro_rules! visit_place_fns {
936922 } ;
937923 }
938924
939- self . visit_place_base ( & place. local, context, location) ;
925+ self . visit_local ( & place. local, context, location) ;
940926
941927 self . visit_projection( place. local, & place. projection, context, location) ;
942928 }
0 commit comments