about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-11-04 20:40:47 -0800
committerGitHub <noreply@github.com>2024-11-04 20:40:47 -0800
commitb3fc9e6d6fb720aae421fa429c7cd6bab398eb2b (patch)
tree82b78af6ab922007f3ac12ecad782db64de00396 /compiler/rustc_codegen_gcc/src/errors.rs
parentf8ac0e71f879de7da4d5b2521f795ee4a0c9b941 (diff)
parent5dfbc0383d6e7ad27f0bdae5542109dafc9cd4f1 (diff)
downloadrust-b3fc9e6d6fb720aae421fa429c7cd6bab398eb2b.tar.gz
rust-b3fc9e6d6fb720aae421fa429c7cd6bab398eb2b.zip
Rollup merge of #132596 - GuillaumeGomez:show-coverage, r=notriddle
[rustdoc] Fix `--show-coverage` when JSON output format is used

I realized while looking on the docs.rs page of the `sysinfo` crate that the coverage numbers displayed were wrong:

![image](https://github.com/user-attachments/assets/264b2e25-6271-4ed1-8b35-e8bd4fd475c6)

I realized that it was because `--show-coverage --output-format=json` was relying on the same logic as the JSON output for the doc generation whereas it should not. I fixed it by changing the API for querying `is_json` a bit.

The underlying issue is that JSON output format is stripping reexports of items from private modules.

r? ``@notriddle``
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions