rustdoc --test
does not respect -Zcrate-attr
#138491
Labels
-Zcrate-attr
Unstable option: -Zcrate-attr
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-CLI
Area: Command-line interface (CLI) to the compiler
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 (what
cargo new --lib
generates):I expected both
rustdoc
andrustdoc --test
to behave identically with respect to-Zcrate-attr
, but:Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: