give a better error when rustdoc exits with a non-zero exit code #13386
Labels
A-console-output
Area: Terminal output, colors, progress bar, etc.
C-bug
Category: bug
Command-doc
S-needs-mentor
Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Problem
currently, the error message when rustdoc errors looks like this:
this is already kind of long, and it gets much worse as you add more dependencies.
Steps
//! Option<usize>
at the root of the crateRUSTDOCFLAGS=-Dwarnings cargo doc
Possible Solution(s)
it would be nice to make it consistent with the error for rustc:
Notes
No response
Version
The text was updated successfully, but these errors were encountered: