Skip to content

rustdoc shows the anonymous lifetime in the foreign implementations section of re-exported traits #84634

Closed
@Nemo157

Description

@Nemo157

Compare the docs for futures_core::stream::Stream vs futures::stream::Stream which is just a re-export of the former. In the original docs the anonymous lifetime on the impl<T: Stream + Unpin> Stream for &mut T is not shown, in either the sidebar or main docs

image
image

While in the re-exported docs, the anonymous lifetime is shown in both locations

image
image

(along with some other differences that probably deserve separate issues)

Reproduced locally on rustdoc 1.53.0-nightly (968425893 2021-04-26)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.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