-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
RUSTDOCFLAGS=--show-coverage cargo doc deletes any existing docs #84790
Copy link
Copy link
Closed
Labels
A-doc-coverageArea: Calculating how much of a crate has documentationArea: Calculating how much of a crate has documentationC-bugCategory: This is a bug.Category: This is a bug.T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.T-docs-rsRelevant to the docs-rs subteam, which will review and decide on the PR/issue.Relevant to the docs-rs subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Description
Metadata
Metadata
Assignees
Labels
A-doc-coverageArea: Calculating how much of a crate has documentationArea: Calculating how much of a crate has documentationC-bugCategory: This is a bug.Category: This is a bug.T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.T-docs-rsRelevant to the docs-rs subteam, which will review and decide on the PR/issue.Relevant to the docs-rs subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
I tried this code:
cargo doc && RUSTDOCFLAGS='-Z unstable-options '--show-coverage cargo docI expected to see this happen: There is documentation in
target/doc/crate_nameInstead, 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: