Missing “Generated” status for cargo rustdoc --output-format json
#13303
Labels
C-bug
Category: bug
Command-rustdoc
E-easy
Experience: Easy
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
Problem
For HTML format,
cargo rustdoc
would output a “Generated” status showing the file pathHowever, for
--output-format json
you cannot find the “Generated” status.Steps
cargo new foo
cd foo
cargo +nightly rustdoc -Zunstable-options --output-format json
Possible Solution(s)
Expect there is a corresponding "Generated" status for JSON format.
For
--open
different formats are handled, but for "Generated" they aren't.cargo/src/cargo/ops/cargo_doc.rs
Lines 64 to 73 in 350098d
cargo/src/cargo/ops/cargo_doc.rs
Lines 91 to 94 in 350098d
Notes
No response
Version
The text was updated successfully, but these errors were encountered: