1 #![warn(clippy::modulo_arithmetic)]
2 #![allow(clippy::no_effect, clippy::unnecessary_operation, clippy::modulo_one)]
5 // Lint when both sides are const and of the opposite sign
10 35 * (7 - 4 * 2) % (-500 * -600);
25 // No lint when both sides are const and of the same sign