Skip to content

Unused links #15848

@estebank

Description

@estebank

What it does

Detect docstrings containing unused link definitions.

This might be part of one of the rustdoc related lints, like clippy::doc_broken_link.

Advantage

No response

Drawbacks

No response

Example

/// Google.
///
/// [Google]: www.google.com
struct G;

Should detect that [Google] isn't being used.

Comparison with existing lints

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions