-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Add an equivalent of "--check" on rustdoc #76040
Copy link
Copy link
Closed
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
In a recent conversation, it came up that
cargo checkwasn't running rustdoc lints. I then realized that there was no easy way to just run an equivalent ofcargo checkwith rustdoc to get those lints. So the question is mostly: how should we do it? Extendcargo? Add an option on rustdoc and then call it through cargo?cc @rust-lang/rustdoc
Also tagging @yaahc who brought up the issue.