Remove unused argument from check_mac_def
.
This commit is contained in:
parent
7e3fd33a66
commit
b8ed1c5745
3 changed files with 3 additions and 3 deletions
|
@ -2000,7 +2000,7 @@ impl KeywordIdents {
|
|||
}
|
||||
|
||||
impl EarlyLintPass for KeywordIdents {
|
||||
fn check_mac_def(&mut self, cx: &EarlyContext<'_>, mac_def: &ast::MacroDef, _id: ast::NodeId) {
|
||||
fn check_mac_def(&mut self, cx: &EarlyContext<'_>, mac_def: &ast::MacroDef) {
|
||||
self.check_tokens(cx, mac_def.body.inner_tokens());
|
||||
}
|
||||
fn check_mac(&mut self, cx: &EarlyContext<'_>, mac: &ast::MacCall) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue