RUSTDOCFLAGS=--show-coverage cargo doc
deletes any existing docs
#84790
Labels
A-doc-coverage
Area: Calculating how much of a crate has documentation
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
requires-nightly
This issue requires a nightly compiler in some way.
T-cargo
Relevant to the cargo team, which will review and decide on the PR/issue.
T-docs-rs
Relevant to the docs-rs subteam, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
cargo doc && RUSTDOCFLAGS='-Z unstable-options '--show-coverage cargo doc
I expected to see this happen: There is documentation in
target/doc/crate_name
Instead, this happened: The docs get deleted.
Meta
searched nightlies: from nightly-2021-04-28 to nightly-2021-04-29
regressed nightly: nightly-2021-04-29
searched commits: from 727d101 to ca075d2
regressed commit: 27bd3f5
bisected with cargo-bisect-rustc v0.6.0
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
The text was updated successfully, but these errors were encountered: