Skip to content

2024 edition prelude item docs are not inlined, and cause some duplication and confusion #136102

Closed
@ehuss

Description

@ehuss

#116016 made some changes to how the prelude items are structured which causes some problems with how the documentation is generated:

I would like to propose that after #134272 merges to undo the introduction of the common module, and revert it back to the previous state where rust_2024 re-exports v1 with doc(no_inline). Unfortunately this will break/delete existing pages like https://doc.rust-lang.org/core/prelude/rust_2024/attr.derive.html. I'm personally fine with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-edition-2024Area: The 2024 editionC-bugCategory: This is a bug.T-editionRelevant to the edition team.T-libs-apiRelevant to the library API 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