rust/tests
bors 617417e9ad Auto merge of #9365 - c410-f3r:arith, r=Alexendoo
[Arithmetic] Consider literals

Fixes https://github.com/rust-lang/rust-clippy/issues/9307 and makes the `arithmetic` lint behave like `integer_arithmetic`.

It is worth noting that literal integers of a binary operation (`1 + 1`, `i32::MAX + 1`), **regardless if they are in a constant environment**, won't trigger the lint. Assign operations also have similar reasoning.

changelog: Consider literals in the arithmetic lint
2022-09-07 19:55:34 +00:00
..
test_utils
ui Auto merge of #9365 - c410-f3r:arith, r=Alexendoo 2022-09-07 19:55:34 +00:00
ui-cargo Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup 2022-07-28 19:08:22 +02:00
ui-internal Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup 2022-08-11 19:42:16 +02:00
ui-toml Initial implementation of result_large_err 2022-08-30 17:39:40 +02:00
workspace_test
check-fmt.rs Fix adjacent code 2022-08-16 18:34:51 -04:00
clippy.toml
compile-test.rs Implemented suspicious_to_owned lint to check if to_owned is called on a Cow. 2022-08-26 17:41:17 -07:00
dogfood.rs Fix adjacent code 2022-08-16 18:34:51 -04:00
integration.rs Fix adjacent code 2022-08-16 18:34:51 -04:00
lint_message_convention.rs Fix adjacent code 2022-08-16 18:34:51 -04:00
missing-test-files.rs
versioncheck.rs
workspace.rs Fix adjacent code 2022-08-16 18:34:51 -04:00