diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-12-29 21:40:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-29 21:40:23 +0100 |
| commit | c8d42740c5ea34ec33993837849b32933ab02854 (patch) | |
| tree | fadda8561682a26a5bef29b7ca18833c4c757dbf /compiler/rustc_codegen_llvm/src | |
| parent | ef55e757b33c6e128366641525260b22724ab153 (diff) | |
| parent | 7ca4e9fcb24e8f1c1e2d0af2fbb2ffab22df0a8b (diff) | |
| download | rust-c8d42740c5ea34ec33993837849b32933ab02854.tar.gz rust-c8d42740c5ea34ec33993837849b32933ab02854.zip | |
Rollup merge of #119388 - Enselic:prevent-lint-triplication, r=cjgillot
rustc_lint: Prevent triplication of various lints Prevent triplication of various lints. The triplication happens because we run the same lint three times (or less in some cases): * In `BuiltinCombinedPreExpansionLintPass` * In `BuiltinCombinedEarlyLintPass` * In `shallow_lint_levels_on()` Only run the lints one time by checking the `lint_added_lints` bool. Set your GitHub diff setting to ignore whitespaces changes when reviewing this PR, since I had to enclose a block inside an if. Closes #73301 (I found this while exploring the code related to [this](https://github.com/rust-lang/rust/pull/119251#discussion_r1435677330) comment.)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
