Skip to content

rustdoc: Make sure that items are not constructed multiple times during doc inlining #96309

Open
@petrochenkov

Description

@petrochenkov

In #96282 (comment) there was some suspicion that it may happen.

By making sure that items, and Attributes in particular, are not constructed multiple times we may improve rustdoc's performance and uncover some logical bugs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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