rust/tests
bors ac914d3457 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
2024-08-31 16:03:42 +00:00
..
test_utils
ui Auto merge of #12476 - GuillaumeGomez:add-manual_arithmetic_check, r=y21 2024-08-31 16:03:42 +00:00
ui-cargo
ui-internal
ui-toml Auto merge of #13300 - kyoto7250:issue_13292, r=llogiq 2024-08-26 19:32:11 +00:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs
config-metadata.rs Merge branch 'master' into rustup 2024-08-24 16:31:01 -04:00
dogfood.rs
headers.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs