1
Fork 0

Remove unused argument from check_mac_def.

This commit is contained in:
Nicholas Nethercote 2022-09-12 13:50:18 +10:00
parent 7e3fd33a66
commit b8ed1c5745
3 changed files with 3 additions and 3 deletions

View file

@ -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) {