Closed as duplicate of#4165
Description
Problem you are trying to solve
it is inconvenient to try to navigate to the page for a specific lint in the local documentation.
Solution you'd like
typing rustup doc lintname
takes you to the page for that lint. this would work for rustc lints, rustdoc lints, clippy lints, and potentially other tool lints.
for example, rustup doc rustdoc::broken_intra_doc_links
would take you to file:$TOOLCHAIN/share/doc/rust/html/rustdoc/lints.html#broken_intra_doc_links
.
Notes
No response