@@ -212,72 +212,72 @@ impl MutVisitor for CfgEval<'_> {
212212 #[ instrument( level = "trace" , skip( self ) ) ]
213213 fn visit_expr ( & mut self , expr : & mut P < ast:: Expr > ) {
214214 self . 0 . configure_expr ( expr, false ) ;
215- mut_visit:: noop_visit_expr ( expr, self ) ;
215+ mut_visit:: walk_expr ( expr, self ) ;
216216 }
217217
218218 #[ instrument( level = "trace" , skip( self ) ) ]
219219 fn visit_method_receiver_expr ( & mut self , expr : & mut P < ast:: Expr > ) {
220220 self . 0 . configure_expr ( expr, true ) ;
221- mut_visit:: noop_visit_expr ( expr, self ) ;
221+ mut_visit:: walk_expr ( expr, self ) ;
222222 }
223223
224224 fn filter_map_expr ( & mut self , expr : P < ast:: Expr > ) -> Option < P < ast:: Expr > > {
225225 let mut expr = configure ! ( self , expr) ;
226- mut_visit:: noop_visit_expr ( & mut expr, self ) ;
226+ mut_visit:: walk_expr ( & mut expr, self ) ;
227227 Some ( expr)
228228 }
229229
230230 fn flat_map_generic_param (
231231 & mut self ,
232232 param : ast:: GenericParam ,
233233 ) -> SmallVec < [ ast:: GenericParam ; 1 ] > {
234- mut_visit:: noop_flat_map_generic_param ( configure ! ( self , param) , self )
234+ mut_visit:: walk_flat_map_generic_param ( configure ! ( self , param) , self )
235235 }
236236
237237 fn flat_map_stmt ( & mut self , stmt : ast:: Stmt ) -> SmallVec < [ ast:: Stmt ; 1 ] > {
238- mut_visit:: noop_flat_map_stmt ( configure ! ( self , stmt) , self )
238+ mut_visit:: walk_flat_map_stmt ( configure ! ( self , stmt) , self )
239239 }
240240
241241 fn flat_map_item ( & mut self , item : P < ast:: Item > ) -> SmallVec < [ P < ast:: Item > ; 1 ] > {
242- mut_visit:: noop_flat_map_item ( configure ! ( self , item) , None , self )
242+ mut_visit:: walk_flat_map_item ( configure ! ( self , item) , None , self )
243243 }
244244
245245 fn flat_map_assoc_item (
246246 & mut self ,
247247 item : P < ast:: AssocItem > ,
248248 ctxt : AssocCtxt ,
249249 ) -> SmallVec < [ P < ast:: AssocItem > ; 1 ] > {
250- mut_visit:: noop_flat_map_item ( configure ! ( self , item) , Some ( ctxt) , self )
250+ mut_visit:: walk_flat_map_item ( configure ! ( self , item) , Some ( ctxt) , self )
251251 }
252252
253253 fn flat_map_foreign_item (
254254 & mut self ,
255255 foreign_item : P < ast:: ForeignItem > ,
256256 ) -> SmallVec < [ P < ast:: ForeignItem > ; 1 ] > {
257- mut_visit:: noop_flat_map_item ( configure ! ( self , foreign_item) , None , self )
257+ mut_visit:: walk_flat_map_item ( configure ! ( self , foreign_item) , None , self )
258258 }
259259
260260 fn flat_map_arm ( & mut self , arm : ast:: Arm ) -> SmallVec < [ ast:: Arm ; 1 ] > {
261- mut_visit:: noop_flat_map_arm ( configure ! ( self , arm) , self )
261+ mut_visit:: walk_flat_map_arm ( configure ! ( self , arm) , self )
262262 }
263263
264264 fn flat_map_expr_field ( & mut self , field : ast:: ExprField ) -> SmallVec < [ ast:: ExprField ; 1 ] > {
265- mut_visit:: noop_flat_map_expr_field ( configure ! ( self , field) , self )
265+ mut_visit:: walk_flat_map_expr_field ( configure ! ( self , field) , self )
266266 }
267267
268268 fn flat_map_pat_field ( & mut self , fp : ast:: PatField ) -> SmallVec < [ ast:: PatField ; 1 ] > {
269- mut_visit:: noop_flat_map_pat_field ( configure ! ( self , fp) , self )
269+ mut_visit:: walk_flat_map_pat_field ( configure ! ( self , fp) , self )
270270 }
271271
272272 fn flat_map_param ( & mut self , p : ast:: Param ) -> SmallVec < [ ast:: Param ; 1 ] > {
273- mut_visit:: noop_flat_map_param ( configure ! ( self , p) , self )
273+ mut_visit:: walk_flat_map_param ( configure ! ( self , p) , self )
274274 }
275275
276276 fn flat_map_field_def ( & mut self , sf : ast:: FieldDef ) -> SmallVec < [ ast:: FieldDef ; 1 ] > {
277- mut_visit:: noop_flat_map_field_def ( configure ! ( self , sf) , self )
277+ mut_visit:: walk_flat_map_field_def ( configure ! ( self , sf) , self )
278278 }
279279
280280 fn flat_map_variant ( & mut self , variant : ast:: Variant ) -> SmallVec < [ ast:: Variant ; 1 ] > {
281- mut_visit:: noop_flat_map_variant ( configure ! ( self , variant) , self )
281+ mut_visit:: walk_flat_map_variant ( configure ! ( self , variant) , self )
282282 }
283283}
0 commit comments