-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
invalid_doc_attributes should not fire on extern crate items #86046
Copy link
Copy link
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-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
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-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
I expected to see this happen: Rustdoc gives no warning, and shows the module "core" instead of "pub use extern crate core".
Instead, this happened: Rustdoc shows the module, but still gives a warning:
Meta
rustc --version: rustc 1.54.0-nightly (cc77ba4 2021-06-03)