Skip to content

Lint hand-written intra-rustdoc links #1912

@clarfonthey

Description

@clarfonthey

Once rust-lang/rust#43466 lands, people will be able to write links directly to Rust items instead of hand-writing the links. We should consider at some point adding a lint that will look for links to items and lint to use the latter format instead.

Obviously, we'd want to wait before this is implemented in compiler land before linting, but it's good to add to the list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsL-styleLint: Belongs in the style lint group

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions