about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-02 15:40:07 +0000
committerbors <bors@rust-lang.org>2022-11-02 15:40:07 +0000
commit647644b8f60384f19b3303caffda97c4a71fe8a2 (patch)
tree5a6b87d43a394312b58436378492d4dea8cb30e6 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent7600535511a0b8c76bf28f40e1b5c4a45a57b28f (diff)
parentd35b7de1d5fb59ce00d678f66d6897cbafc3107c (diff)
downloadrust-647644b8f60384f19b3303caffda97c4a71fe8a2.tar.gz
rust-647644b8f60384f19b3303caffda97c4a71fe8a2.zip
Auto merge of #9772 - lukas-code:doc-spans, r=Manishearth
Shrink `missing_{safety,errors,panics}_doc` spans

Shrink the spans of `clippy::missing_*_doc` to match `missing_docs` and don't cover the entire item anymore. This helps readability in IDEs by not coloring the entire screen yellow, similar to https://github.com/rust-lang/rust/pull/103749 and https://github.com/rust-lang/rust/pull/90761.

before:
![image](https://user-images.githubusercontent.com/26522220/199483288-af0cf0c2-a9e4-47a8-81e3-50ccf380d939.png)

after:
![image](https://user-images.githubusercontent.com/26522220/199483366-445e5ddd-9f71-4de1-85be-43461c9b7d5d.png)

changelog: [`missing_safety_doc`], [`missing_error_doc`], [`missing_panics_doc`]: These lints no longer span the entire item.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions