1 #![feature(tool_lints)]
3 #[warn(clippy::cast_precision_loss, clippy::cast_possible_truncation, clippy::cast_sign_loss, clippy::cast_possible_wrap, clippy::cast_lossless)]
4 #[allow(clippy::no_effect, clippy::unnecessary_operation)]
22 1u32 as usize; // Should not trigger any lint
23 1i32 as isize; // Neither should this