Remove unused hir_id arg from visit_attribute.

This commit is contained in:
Nicholas Nethercote 2022-06-16 07:54:03 +10:00
parent 969a2cc8c1
commit c9e97251ad
6 changed files with 9 additions and 11 deletions

View file

@ -466,7 +466,7 @@ pub trait Visitor<'v>: Sized {
fn visit_assoc_type_binding(&mut self, type_binding: &'v TypeBinding<'v>) {
walk_assoc_type_binding(self, type_binding)
}
fn visit_attribute(&mut self, _id: HirId, _attr: &'v Attribute) {}
fn visit_attribute(&mut self, _attr: &'v Attribute) {}
fn visit_associated_item_kind(&mut self, kind: &'v AssocItemKind) {
walk_associated_item_kind(self, kind);
}