-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerA-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-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.
Description
I tried this:
RUSTDOCFLAGS='--show-coverage -Z unstable-options' cargo doc --message-format json --no-deps --all-features
I expected to get a json message containing the coverage information, but instead I still got a table.
Then I tried this:
RUSTDOCFLAGS='--show-coverage -Z unstable-options --output-format json' cargo doc --no-deps --all-features
and it did output a json message, but that message is missing a reason
key to identify it within the greater message stream when combined with --message-format json
.
rustdoc 1.47.0-nightly (d8cbd9cac 2020-08-03)
Metadata
Metadata
Assignees
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerA-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-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.