]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/modulo_arithmetic_integral_const.rs
Fix adjacent code
[rust.git] / tests / ui / modulo_arithmetic_integral_const.rs
index 047a29fa1e327201d12847ff71452f51cea4ec9d..3ebe46bc5be7c5b8b4108f4477b70663a5734b38 100644 (file)
@@ -1,5 +1,10 @@
 #![warn(clippy::modulo_arithmetic)]
-#![allow(clippy::no_effect, clippy::unnecessary_operation, clippy::modulo_one)]
+#![allow(
+    clippy::no_effect,
+    clippy::unnecessary_operation,
+    clippy::modulo_one,
+    clippy::identity_op
+)]
 
 fn main() {
     // Lint when both sides are const and of the opposite sign