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>2024-08-31 16:03:42 +0000
committerbors <bors@rust-lang.org>2024-08-31 16:03:42 +0000
commitac914d3457f968f4b79007ed912afbad189a162c (patch)
tree6f2d8def5ee2b70c1dd3f43e3440a2bf9850fd46 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentb86a202c92aec56daa3eee677bbc70493ac10394 (diff)
parent2832faf8959932a25fda883ed3f7dfde8b2d2817 (diff)
downloadrust-ac914d3457f968f4b79007ed912afbad189a162c.tar.gz
rust-ac914d3457f968f4b79007ed912afbad189a162c.zip
Auto merge of #12476 - GuillaumeGomez:add-manual_arithmetic_check, r=y21
Extend `implicit_saturating_sub` lint

Fixes #10070.

It can serve as base if we want to add equivalent checks for other arithmetic operations.

Also one important note: when writing this lint, I realized that I could check for wrong conditions performed beforehand on subtraction and added another part in the lint. Considering they both rely on the same checks, I kept both in the same place. Not sure if it makes sense though...

changelog: Extend `implicit_saturating_sub` lint
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions