Closed
Description
cast-lossless
includes issuing a warning about what might happen if you change your code: warning: casting u8 to i32 may become silently lossy if you later change the type
. Given that the cast is totally safe with the code as written, this seems like it should be a pedantic lint, rather than a default one.