Skip to content

Improve rustdoc strippers #138168

Description

@GuillaumeGomez

Currently, rustdoc goes through multiple passes to inline reexports, remove hidden/private items.

First, we go through the whole crate AST, to convert types into rustdoc types (although the rustdoc types are now more and more just wrapper around rustc types), then we run these passes. However: couldn't we do the stripping as part of this conversion?

It could also potentially help with performance in cases like #137534.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-technical-debtArea: Internal cleanup workC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions