Files
rust/clippy_lints/src
bors e0c1959616 Auto merge of #9592 - c410-f3r:arith, r=Jarcho
[arithmetic-side-effects] Detect overflowing associated constants of integers

Triggers the negation of maximum unsigned integers using associated constants. Rustc already handles `-128i8` but doesn't handle `-i8::MAX`.

At the same time, allows stuff like `-1234`.

changelog: FP: [arithmetic-side-effects] Detect overflowing associated constants of integers
2022-11-20 22:51:25 +00:00
..
2022-10-31 22:11:17 +01:00
2022-11-16 13:15:22 +05:30
2022-11-19 08:25:20 -03:00
2022-10-28 13:18:07 -04:00
2022-10-15 07:03:29 -04:00
2022-08-16 11:10:13 +10:00
2022-11-10 10:09:33 +01:00
2022-06-14 16:11:27 +02:00
2022-09-24 23:21:19 +09:00
2022-10-28 13:18:07 -04:00
2022-10-28 13:18:07 -04:00
2022-10-28 13:18:07 -04:00
2022-10-28 13:18:07 -04:00
2022-11-04 20:59:31 -07:00
2022-10-31 20:12:37 -04:00
2022-10-15 07:03:29 -04:00
2022-10-15 07:03:29 -04:00
2022-10-28 13:18:07 -04:00
2022-10-28 13:18:07 -04:00
2022-10-07 05:07:44 -04:00
2022-10-16 17:13:12 +08:00
2022-05-10 12:07:35 +02:00
2022-10-28 13:18:07 -04:00
2022-10-28 13:18:07 -04:00
2022-10-28 13:18:07 -04:00
2022-01-23 19:31:32 +08:00
2022-04-30 13:51:49 +02:00
2022-11-19 00:28:02 +09:00
2022-11-07 19:49:43 +01:00
2022-11-04 20:33:04 +03:00