-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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.C-bugCategory: This is a bug.Category: This is a bug.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.
Description
Found in tokio-rs/tracing#940 (comment).
$ cat broken.rs
#![deny(x)]
$ rustdoc broken.rs # no output
$ rustc broken.rs
warning: unknown lint: `x`
--> broken.rs:1:9
|
1 | #![deny(x)]
| ^
|
= note: `#[warn(unknown_lints)]` on by default
$ rustdoc --version
rustdoc 1.45.2 (d3fb005a3 2020-07-31)
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.C-bugCategory: This is a bug.Category: This is a bug.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.