diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-16 07:54:03 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-16 09:52:04 +1000 |
| commit | c9e97251adf538be8f7f34bfd3e02a4bed164cbd (patch) | |
| tree | fdd335474786d13cf9b0dfbdd96008339f58d7a5 /compiler/rustc_incremental/src | |
| parent | 969a2cc8c1e83ce93a13ab126c4519a72405bb69 (diff) | |
| download | rust-c9e97251adf538be8f7f34bfd3e02a4bed164cbd.tar.gz rust-c9e97251adf538be8f7f34bfd3e02a4bed164cbd.zip | |
Remove unused `hir_id` arg from `visit_attribute`.
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); } |
