about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-16 05:56:19 +0000
committerbors <bors@rust-lang.org>2022-10-16 05:56:19 +0000
commit332b5b3d8b883087ea1632bf7cfb13721db6d9f9 (patch)
tree8b63a9ba51aeaf30143f7d8f4f47fcdfbe53e9a4 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenteba5ff9d054cff5c1fbdccc72ea5e25d3ba33b76 (diff)
parent5dc54c60660b2e37c2978c38df9298edcc2988f2 (diff)
downloadrust-332b5b3d8b883087ea1632bf7cfb13721db6d9f9.tar.gz
rust-332b5b3d8b883087ea1632bf7cfb13721db6d9f9.zip
Auto merge of #9566 - smoelius:diagnostic-item-path, r=dswij
Expand internal lint `unnecessary_def_path`

This PR does essentially two things:
* Separates the internal lints into modules by pass. (`internal_lints.rs` was over 1400 lines, which is a little unruly IMHO.)
* ~Adds a new~ Expands the `unnecessary_def_path` internal lint to flag hardcoded paths to diagnostic and language items.

My understanding is that the latter is currently done by reviewers. Automating this process should make things easier for both reviewers and contributors.

I could make the first bullet a separate PR, or remove it entirely, if desired.

changelog: Add internal lint `diagnostic_item_path`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions