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
jyn514 opened this issue
Aug 24, 2020
· 2 comments
· Fixed by #75903
Assignees
Labels
A-lintArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
The text was updated successfully, but these errors were encountered:
jyn514
added
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
labels
Aug 24, 2020
renamed_and_unknown_lints is also not running, which is even worse in this case because it means no one will see the message about intra-doc links being renamed.
$ rustc +nightly broken.rs --crate-type lib
warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links`
--> broken.rs:1:9
|
1 | #![deny(intra_doc_link_resolution_failure)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
$ rustdoc +nightly broken.rs # no output
jyn514
changed the title
Rustdoc does not warn about unknown lints
Rustdoc does not warn about unknown, renamed, or removed lints
Aug 24, 2020
A-lintArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Found in tokio-rs/tracing#940 (comment).
The text was updated successfully, but these errors were encountered: