Files
rust/clippy_utils/src
bors 4f82dd83df Auto merge of #7948 - 5225225:castlosslessbool, r=llogiq
Lint for bool to integer casts in `cast_lossless`

The lint description says

> Checks for casts between *numerical* types that may be replaced by safe conversion functions.

Which is strictly speaking being violated here, but it seems within the spirit of the lint. I think it is still a useful lint to have, and having a different lint for just this feels excessive. Thoughts?

Fixes #7947

changelog: Lint for bool to integer casts in [`cast_lossless`]
2021-11-12 18:17:18 +00:00
..
2021-10-30 06:22:19 +02:00
2021-11-04 11:57:14 +08:00
2021-11-05 14:39:39 -05:00
2021-11-09 17:30:15 +00:00
2021-11-11 17:34:02 +01:00
2021-11-05 14:39:39 -05:00
2021-11-05 14:39:39 -05:00