Skip to content

Render documentation of lints #49416

Closed
Closed
@killercup

Description

@killercup

Each of the Clippy lints is documented and the clippy docs are index (this one for the current version) that allows people to easily discover these lints. We should make the rustc built-in lints discoverable in this way as well.

  • Provide tooling to render documentation similar to the Clippy one for the rustc build-in lints
    • generate docs that live next to the error index?
  • We should add documentation to each of the built-in lints
    • might be inspired by Clippy's style
    • provide reasoning and example

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions