invalid_doc_attributes
should not fire on extern crate
items
#86046
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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)The text was updated successfully, but these errors were encountered: