Rustdoc allows multiple declarations of a feature #82588
Labels
C-bug
Category: This is a bug.
requires-nightly
This issue requires a nightly compiler in some way.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: Both
cargo build
andcargo doc
to fail because of multiple declarations of thedoc_cfg
feature.Instead, this happened:
cargo build
failed whilecargo doc
succeeded:Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: