File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ macro_rules! make_ast_visitor {
277
277
make_visit!{ VariantData , visit_variant_data, walk_variant_data}
278
278
make_visit!{ FnDecl , visit_fn_decl, walk_fn_decl}
279
279
make_visit!{ Local , visit_local, walk_local}
280
+ make_visit!{ PreciseCapturingArg , visit_precise_capturing_arg, walk_precise_capturing_arg}
280
281
make_visit!{ P !( Pat ) , visit_pat, walk_pat}
281
282
make_visit!{ P !( Expr ) , visit_expr, walk_expr}
282
283
make_visit!{ P !( Ty ) , visit_ty, walk_ty}
@@ -303,11 +304,6 @@ macro_rules! make_ast_visitor {
303
304
walk_param_bound( self , tpb)
304
305
}
305
306
306
- // FIXME: for some reason the immutable version doesn't return result!()
307
- fn visit_precise_capturing_arg( & mut self , arg: ref_t!( PreciseCapturingArg ) ) {
308
- walk_precise_capturing_arg( self , arg) ;
309
- }
310
-
311
307
fn visit_variant_discr( & mut self , discr: ref_t!( AnonConst ) ) -> result!( ) {
312
308
self . visit_anon_const( discr)
313
309
}
You can’t perform that action at this time.
0 commit comments