-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.D-terseDiagnostics: An error or lint that doesn't give enough information about the problem at hand.Diagnostics: An error or lint that doesn't give enough information about the problem at hand.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Code
[lints.clippy]
missing_docs = "warn"
In your Cargo.toml.
Current output
warning[E0602]: unknown lint: `clippy::missing_docs`
|
= help: did you mean: `clippy::erasing_op`
= note: requested on the command line with `-W clippy::missing_docs`
= note: `#[warn(unknown_lints)]` on by default
Desired output
warning[E0602]: unknown lint: `clippy::missing_docs`
|
= help: did you mean: `missing_docs`. A lint with the same name was found in `rustc` lints.
= note: requested on the command line with `-W clippy::missing_docs`
= note: `#[warn(unknown_lints)]` on by default
Rationale and extra context
Initially opened at rust-lang/rust-clippy#11855
obi1kenobi and mo8it
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.D-terseDiagnostics: An error or lint that doesn't give enough information about the problem at hand.Diagnostics: An error or lint that doesn't give enough information about the problem at hand.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.