Update Expr::Paren generated code
diff --git a/src/gen/fold.rs b/src/gen/fold.rs
index 60935a9..46ac7b4 100644
--- a/src/gen/fold.rs
+++ b/src/gen/fold.rs
@@ -125,7 +125,7 @@
fn fold_expr_match(&mut self, i: ExprMatch) -> ExprMatch { fold_expr_match(self, i) }
# [ cfg ( feature = "full" ) ] # [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
fn fold_expr_method_call(&mut self, i: ExprMethodCall) -> ExprMethodCall { fold_expr_method_call(self, i) }
-# [ cfg ( feature = "full" ) ] # [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
+# [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
fn fold_expr_paren(&mut self, i: ExprParen) -> ExprParen { fold_expr_paren(self, i) }
# [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
fn fold_expr_path(&mut self, i: ExprPath) -> ExprPath { fold_expr_path(self, i) }
@@ -951,7 +951,7 @@
}
Expr::Paren(_binding_0, ) => {
Expr::Paren (
- full!(_visitor.fold_expr_paren(_binding_0)),
+ _visitor.fold_expr_paren(_binding_0),
)
}
Expr::Group(_binding_0, ) => {
@@ -1217,7 +1217,7 @@
args: FoldHelper::lift(_i . args, |it| { _visitor.fold_expr(it) }),
}
}
-# [ cfg ( feature = "full" ) ] # [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
+# [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
pub fn fold_expr_paren<V: Fold + ?Sized>(_visitor: &mut V, _i: ExprParen) -> ExprParen {
ExprParen {
attrs: FoldHelper::lift(_i . attrs, |it| { _visitor.fold_attribute(it) }),
diff --git a/src/gen/visit.rs b/src/gen/visit.rs
index 3fcf09c..a5dfef4 100644
--- a/src/gen/visit.rs
+++ b/src/gen/visit.rs
@@ -123,7 +123,7 @@
fn visit_expr_match(&mut self, i: &'ast ExprMatch) { visit_expr_match(self, i) }
# [ cfg ( feature = "full" ) ] # [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
fn visit_expr_method_call(&mut self, i: &'ast ExprMethodCall) { visit_expr_method_call(self, i) }
-# [ cfg ( feature = "full" ) ] # [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
+# [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
fn visit_expr_paren(&mut self, i: &'ast ExprParen) { visit_expr_paren(self, i) }
# [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
fn visit_expr_path(&mut self, i: &'ast ExprPath) { visit_expr_path(self, i) }
@@ -755,7 +755,7 @@
full!(_visitor.visit_expr_repeat(_binding_0));
}
Expr::Paren(ref _binding_0, ) => {
- full!(_visitor.visit_expr_paren(_binding_0));
+ _visitor.visit_expr_paren(_binding_0);
}
Expr::Group(ref _binding_0, ) => {
full!(_visitor.visit_expr_group(_binding_0));
@@ -960,7 +960,7 @@
tokens_helper(_visitor, &(& _i . paren_token).0);
for el in Punctuated::pairs(& _i . args) { let it = el.value(); _visitor.visit_expr(it) };
}
-# [ cfg ( feature = "full" ) ] # [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
+# [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
pub fn visit_expr_paren<'ast, V: Visit<'ast> + ?Sized>(_visitor: &mut V, _i: &'ast ExprParen) {
for it in & _i . attrs { _visitor.visit_attribute(it) };
tokens_helper(_visitor, &(& _i . paren_token).0);
diff --git a/src/gen/visit_mut.rs b/src/gen/visit_mut.rs
index 94a7449..75971e5 100644
--- a/src/gen/visit_mut.rs
+++ b/src/gen/visit_mut.rs
@@ -124,7 +124,7 @@
fn visit_expr_match_mut(&mut self, i: &mut ExprMatch) { visit_expr_match_mut(self, i) }
# [ cfg ( feature = "full" ) ] # [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
fn visit_expr_method_call_mut(&mut self, i: &mut ExprMethodCall) { visit_expr_method_call_mut(self, i) }
-# [ cfg ( feature = "full" ) ] # [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
+# [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
fn visit_expr_paren_mut(&mut self, i: &mut ExprParen) { visit_expr_paren_mut(self, i) }
# [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
fn visit_expr_path_mut(&mut self, i: &mut ExprPath) { visit_expr_path_mut(self, i) }
@@ -756,7 +756,7 @@
full!(_visitor.visit_expr_repeat_mut(_binding_0));
}
Expr::Paren(ref mut _binding_0, ) => {
- full!(_visitor.visit_expr_paren_mut(_binding_0));
+ _visitor.visit_expr_paren_mut(_binding_0);
}
Expr::Group(ref mut _binding_0, ) => {
full!(_visitor.visit_expr_group_mut(_binding_0));
@@ -961,7 +961,7 @@
tokens_helper(_visitor, &mut (& mut _i . paren_token).0);
for mut el in Punctuated::pairs_mut(& mut _i . args) { let it = el.value_mut(); _visitor.visit_expr_mut(it) };
}
-# [ cfg ( feature = "full" ) ] # [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
+# [ cfg ( any ( feature = "full" , feature = "derive" ) ) ]
pub fn visit_expr_paren_mut<V: VisitMut + ?Sized>(_visitor: &mut V, _i: &mut ExprParen) {
for it in & mut _i . attrs { _visitor.visit_attribute_mut(it) };
tokens_helper(_visitor, &mut (& mut _i . paren_token).0);