[rustdoc] Correctly handle output options with --show-coverage#159411
[rustdoc] Correctly handle output options with --show-coverage#159411GuillaumeGomez wants to merge 3 commits into
Conversation
|
|
This comment has been minimized.
This comment has been minimized.
|
I haven't looked at the implementation, but it seems a bit weird to me to have an flag called #158929 suggests updating the documentation instead. |
e124008 to
f9abe70
Compare
If you want to generate the output in a file, that seems kinda logical to not have output on stdout. |
This comment has been minimized.
This comment has been minimized.
100% agree, but the CLI option is called Is there a way to know if some users are currently relying on the current behavior? (since this is a breaking change) |
|
|
f9abe70 to
1010137
Compare
|
Yeah, |
Fixes #158929.
The
-ooption was ignored with--show-coverage. This PR takes it into account and makes it closer to how these options are handled in the rest of rustdoc.Considering
calculate_doc_coveragewas never really a pass and that I neededRenderOptions(for the-ooption), I moved it out of passes.r? @camelid