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

@@ -276,7 +276,7 @@ impl<'a, T: EarlyLintPass> ast_visit::Visitor<'a> for EarlyContextAndPass<'a, T>
}
fn visit_mac_def(&mut self, mac: &'a ast::MacroDef, id: ast::NodeId) {
run_early_pass!(self, check_mac_def, mac, id);
run_early_pass!(self, check_mac_def, mac);
self.check_id(id);
}