Skip to content

Error or warn on links that start with # and recommend self# or Self# instead #76545

Closed

Description

Rustdoc should error or warn on links that start # and recommend self# for a module or Self# for a type.

Originally posted here and here.


Cc @jyn514

@rustbot modify labels: A-intra-doc-links T-rustdoc

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

Metadata

Assignees

No one assigned

    Labels

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