Skip to content

Lint messages link to docs for 0.0.212 which does not include all available lints #3409

Open
@phansch

Description

@phansch

Currently, when installing Clippy on stable via Rustup, the links to the documentation in the lint output point to the documentation of 0.0.212.
That documentation does not include all the lints which are available in the distributed Clippy version.

So, when a newly added lint is triggered, opening the documentation link will not show the new lint, because it wasn't included in 0.0.212.

I can think of two solutions:

  1. Update the version of the clippy_lints crate before the rustc submodule is updated.
  2. Use the short commit hash in the link, instead of the version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-documentationArea: Adding or improving documentationA-websiteArea: Improving the clippy websiteC-bugCategory: Clippy is not doing the correct thing

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions