Revert "Speed up execution a bit by removing some walks"
This reverts commit a9d582f51f
.
This commit is contained in:
parent
5feeca0156
commit
286a632e72
1 changed files with 2 additions and 21 deletions
|
@ -250,6 +250,7 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
|
|||
res,
|
||||
ident,
|
||||
is_glob,
|
||||
om,
|
||||
please_inline,
|
||||
) {
|
||||
continue;
|
||||
|
@ -445,26 +446,6 @@ impl<'a, 'tcx> Visitor<'tcx> for RustdocVisitor<'a, 'tcx> {
|
|||
}
|
||||
|
||||
fn visit_mod(&mut self, _: &hir::Mod<'tcx>, _: Span, _: hir::HirId) {
|
||||
// Handled in `visit_item_inner`
|
||||
}
|
||||
|
||||
fn visit_use(&mut self, _: &hir::UsePath<'tcx>, _: hir::HirId) {
|
||||
// Handled in `visit_item_inner`
|
||||
}
|
||||
|
||||
fn visit_path(&mut self, _: &hir::Path<'tcx>, _: hir::HirId) {
|
||||
// Handled in `visit_item_inner`
|
||||
}
|
||||
|
||||
fn visit_label(&mut self, _: &rustc_ast::Label) {
|
||||
// Unneeded.
|
||||
}
|
||||
|
||||
fn visit_infer(&mut self, _: &hir::InferArg) {
|
||||
// Unneeded.
|
||||
}
|
||||
|
||||
fn visit_lifetime(&mut self, _: &hir::Lifetime) {
|
||||
// Unneeded.
|
||||
// handled in `visit_item_inner`
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue