diff options
| author | bors <bors@rust-lang.org> | 2022-06-18 09:57:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-06-18 09:57:00 +0000 |
| commit | cdcc53b7dc002ea4a7a28105010c5a1126ee31b7 (patch) | |
| tree | 48332da5be8538e7715065e456b7cb5ccd93d6b5 /compiler/rustc_incremental/src | |
| parent | 0182fd99afaf4a3d602de6b88506edaf6043c125 (diff) | |
| parent | be45f10a9c3b429eeef95dc24ebdd19cbccce0be (diff) | |
| download | rust-cdcc53b7dc002ea4a7a28105010c5a1126ee31b7.tar.gz rust-cdcc53b7dc002ea4a7a28105010c5a1126ee31b7.zip | |
Auto merge of #98153 - nnethercote:fix-MissingDoc-quadratic-behaviour, r=cjgillot
Fix `MissingDoc` quadratic behaviour Best reviewed one commit at a time. r? `@cjgillot`
Diffstat (limited to 'compiler/rustc_incremental/src')
| -rw-r--r-- | compiler/rustc_incremental/src/persist/dirty_clean.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_incremental/src/persist/dirty_clean.rs b/compiler/rustc_incremental/src/persist/dirty_clean.rs index 424164d8760..94097357f8c 100644 --- a/compiler/rustc_incremental/src/persist/dirty_clean.rs +++ b/compiler/rustc_incremental/src/persist/dirty_clean.rs @@ -21,7 +21,6 @@ use rustc_ast::{self as ast, Attribute, NestedMetaItem}; use rustc_data_structures::fx::FxHashSet; -use rustc_hir as hir; use rustc_hir::def_id::LocalDefId; use rustc_hir::intravisit; use rustc_hir::Node as HirNode; @@ -473,7 +472,7 @@ impl<'tcx> intravisit::Visitor<'tcx> for FindAllAttrs<'tcx> { self.tcx.hir() } - fn visit_attribute(&mut self, _: hir::HirId, attr: &'tcx Attribute) { + fn visit_attribute(&mut self, attr: &'tcx Attribute) { if self.is_active_attr(attr) { self.found_attrs.push(attr); } |
