Closed
Description
I tried renaming rustdoc
to rustdoc::all
. I expected this to continue denying rustdoc warnings when I use deny(rustdoc)
. Instead, it warned that the lint name was outdated, but did not apply the lint level.
#![deny(rustdoc)]
//! [x]
warning: lint `rustdoc` has been removed: use `rustdoc::all` instead
--> ../test-rustdoc/lints.rs:1:9
|
1 | #![deny(rustdoc)]
| ^^^^^^^
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
warning: unresolved link to `x`
--> ../test-rustdoc/lints.rs:2:6
|
2 | //! [x]
| ^ no item named `x` in scope
|
= note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
warning: 2 warnings emitted
This is #82615, but for lint groups instead of individual lints. cc #82798