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-11-19 08:22:27 -03:00
2022-11-04 21:58:07 +00:00
2022-06-16 17:39:06 +02:00
2022-08-11 19:42:16 +02:00
2022-10-06 09:19:29 +02:00
2022-06-04 13:34:07 +02:00
2022-10-05 13:44:06 +00:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-06-16 17:39:06 +02:00
2022-06-16 17:39:06 +02:00
2022-08-11 19:42:16 +02:00
2022-11-17 15:02:48 +00:00
2022-10-01 10:03:06 +00:00
2022-05-05 15:12:52 +01:00
2022-06-16 17:39:06 +02:00
2020-12-06 15:01:03 +01:00
2022-10-01 10:03:06 +00:00
2021-11-08 01:22:28 +00:00
2021-12-06 12:33:31 +01:00
2022-05-05 15:12:52 +01:00
2021-07-01 18:17:38 +02:00
2022-10-25 01:51:04 +02:00
2022-10-01 10:03:06 +00:00
2022-11-04 20:33:04 +03:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-08-11 19:42:16 +02:00
2022-11-04 21:58:07 +00:00
2021-12-06 12:33:31 +01:00
2021-09-28 18:03:12 +01:00
2022-11-04 20:33:04 +03:00
2022-11-17 15:02:48 +00:00
2021-04-08 17:50:13 +02:00
2022-11-14 16:06:21 +01:00
2020-12-20 17:19:49 +01:00