Rustdoc does not obey --error-format for doctests error messages #81662
Labels
A-doctests
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: Running
cargo test --doc --message-format=short
uses short messages for all errorsInstead, this happened: The build failure for the doc test emits full error messages:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: