Hide unused assignments in verbatim parsers
diff --git a/src/expr.rs b/src/expr.rs
index a4dc9b7..aa4896b 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -2141,10 +2141,10 @@
#[cfg(feature = "full")]
named!(unstable_async_block -> ExprVerbatim, do_parse!(
begin: call!(verbatim::grab_cursor) >>
- _attrs: many0!(Attribute::parse_outer) >>
- _asyncness: keyword!(async) >>
- _capture: option!(keyword!(move)) >>
- _body: syn!(Block) >>
+ many0!(Attribute::parse_outer) >>
+ keyword!(async) >>
+ option!(keyword!(move)) >>
+ syn!(Block) >>
end: call!(verbatim::grab_cursor) >>
(ExprVerbatim {
tts: verbatim::token_range(begin..end),
diff --git a/src/item.rs b/src/item.rs
index 5a5437d..4b086ae 100644
--- a/src/item.rs
+++ b/src/item.rs
@@ -989,19 +989,19 @@
named!(unstable_async_fn -> ItemVerbatim, do_parse!(
begin: call!(verbatim::grab_cursor) >>
- _outer_attrs: many0!(Attribute::parse_outer) >>
- _vis: syn!(Visibility) >>
- _constness: option!(keyword!(const)) >>
- _unsafety: option!(keyword!(unsafe)) >>
- _asyncness: keyword!(async) >>
- _abi: option!(syn!(Abi)) >>
- _fn_: keyword!(fn) >>
- _ident: syn!(Ident) >>
- _generics: syn!(Generics) >>
- _inputs: parens!(Punctuated::<FnArg, Token![,]>::parse_terminated) >>
- _ret: syn!(ReturnType) >>
- _where_clause: option!(syn!(WhereClause)) >>
- _inner_attrs_stmts: braces!(tuple!(
+ many0!(Attribute::parse_outer) >>
+ syn!(Visibility) >>
+ option!(keyword!(const)) >>
+ option!(keyword!(unsafe)) >>
+ keyword!(async) >>
+ option!(syn!(Abi)) >>
+ keyword!(fn) >>
+ syn!(Ident) >>
+ syn!(Generics) >>
+ parens!(Punctuated::<FnArg, Token![,]>::parse_terminated) >>
+ syn!(ReturnType) >>
+ option!(syn!(WhereClause)) >>
+ braces!(tuple!(
many0!(Attribute::parse_inner),
call!(Block::parse_within),
)) >>
@@ -1532,20 +1532,20 @@
named!(unstable_async_method -> ImplItemVerbatim, do_parse!(
begin: call!(verbatim::grab_cursor) >>
- _outer_attrs: many0!(Attribute::parse_outer) >>
- _vis: syn!(Visibility) >>
- _defaultness: option!(keyword!(default)) >>
- _constness: option!(keyword!(const)) >>
- _unsafety: option!(keyword!(unsafe)) >>
- _asyncness: keyword!(async) >>
- _abi: option!(syn!(Abi)) >>
- _fn_: keyword!(fn) >>
- _ident: syn!(Ident) >>
- _generics: syn!(Generics) >>
- _inputs: parens!(Punctuated::<FnArg, Token![,]>::parse_terminated) >>
- _ret: syn!(ReturnType) >>
- _where_clause: option!(syn!(WhereClause)) >>
- _inner_attrs_stmts: braces!(tuple!(
+ many0!(Attribute::parse_outer) >>
+ syn!(Visibility) >>
+ option!(keyword!(default)) >>
+ option!(keyword!(const)) >>
+ option!(keyword!(unsafe)) >>
+ keyword!(async) >>
+ option!(syn!(Abi)) >>
+ keyword!(fn) >>
+ syn!(Ident) >>
+ syn!(Generics) >>
+ parens!(Punctuated::<FnArg, Token![,]>::parse_terminated) >>
+ syn!(ReturnType) >>
+ option!(syn!(WhereClause)) >>
+ braces!(tuple!(
many0!(Attribute::parse_inner),
call!(Block::parse_within),
)) >>