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 {
277277 make_visit!{ VariantData , visit_variant_data, walk_variant_data}
278278 make_visit!{ FnDecl , visit_fn_decl, walk_fn_decl}
279279 make_visit!{ Local , visit_local, walk_local}
280+ make_visit!{ PreciseCapturingArg , visit_precise_capturing_arg, walk_precise_capturing_arg}
280281 make_visit!{ P !( Pat ) , visit_pat, walk_pat}
281282 make_visit!{ P !( Expr ) , visit_expr, walk_expr}
282283 make_visit!{ P !( Ty ) , visit_ty, walk_ty}
@@ -303,11 +304,6 @@ macro_rules! make_ast_visitor {
303304 walk_param_bound( self , tpb)
304305 }
305306
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-
311307 fn visit_variant_discr( & mut self , discr: ref_t!( AnonConst ) ) -> result!( ) {
312308 self . visit_anon_const( discr)
313309 }
You can’t perform that action at this time.
0 commit comments