Remove unused hir_id
arg from visit_attribute
.
This commit is contained in:
parent
969a2cc8c1
commit
c9e97251ad
6 changed files with 9 additions and 11 deletions
|
@ -120,7 +120,7 @@ impl<'tcx> Visitor<'tcx> for LibFeatureCollector<'tcx> {
|
|||
self.tcx.hir()
|
||||
}
|
||||
|
||||
fn visit_attribute(&mut self, _: rustc_hir::HirId, attr: &'tcx Attribute) {
|
||||
fn visit_attribute(&mut self, attr: &'tcx Attribute) {
|
||||
if let Some((feature, stable, span)) = self.extract(attr) {
|
||||
self.collect_feature(feature, stable, span);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue