You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GuillaumeGomez opened this issue
Aug 28, 2020
· 2 comments
Labels
A-lintsArea: 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.
In a recent conversation, it came up that cargo check wasn't running rustdoc lints. I then realized that there was no easy way to just run an equivalent of cargo check with rustdoc to get those lints. So the question is mostly: how should we do it? Extend cargo? Add an option on rustdoc and then call it through cargo?
Another thing mentioned is that it's not clear which lints belong to rustdoc and which belong to rustc. If we added doc:: in front it would be more clear the lints are only run with rustdoc.
A-lintsArea: 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.
In a recent conversation, it came up that
cargo check
wasn't running rustdoc lints. I then realized that there was no easy way to just run an equivalent ofcargo check
with 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.
The text was updated successfully, but these errors were encountered: