Avoid including attributes in bang macro invocations.
This commit is contained in:
@@ -217,8 +217,7 @@ pub trait IdentMacroExpander {
|
||||
cx: &'cx mut ExtCtxt,
|
||||
sp: Span,
|
||||
ident: ast::Ident,
|
||||
token_tree: Vec<tokenstream::TokenTree>,
|
||||
attrs: Vec<ast::Attribute>)
|
||||
token_tree: Vec<tokenstream::TokenTree>)
|
||||
-> Box<MacResult+'cx>;
|
||||
}
|
||||
|
||||
@@ -234,8 +233,7 @@ impl<F> IdentMacroExpander for F
|
||||
cx: &'cx mut ExtCtxt,
|
||||
sp: Span,
|
||||
ident: ast::Ident,
|
||||
token_tree: Vec<tokenstream::TokenTree>,
|
||||
_attrs: Vec<ast::Attribute>)
|
||||
token_tree: Vec<tokenstream::TokenTree>)
|
||||
-> Box<MacResult+'cx>
|
||||
{
|
||||
(*self)(cx, sp, ident, token_tree)
|
||||
|
||||
Reference in New Issue
Block a user