Skip to content

Intra-rustdoc links do not work for unqualified names in doc for a trait impl method #66509

@mzabaluev

Description

@mzabaluev

There may be a problem with using intra-rustdoc links (#43466) in doc for a method implementation in a trait impl item. This fixup had to be made because an unqualified link to the Policy trait that is declared into the same module was rendered as [Policy] without the link. Other unqualified links to Policy in documentation elsewhere in the same module work as expected.

Meta

rustc --version --verbose:
rustc 1.41.0-nightly (5c5b8af 2019-11-16)
binary: rustc
commit-hash: 5c5b8af
commit-date: 2019-11-16
host: x86_64-unknown-linux-gnu
release: 1.41.0-nightly

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameC-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