1 error: you are using modulo operator on constants with different signs: `-1 % 2`
2 --> $DIR/modulo_arithmetic_integral_const.rs:11:5
7 = note: `-D clippy::modulo-arithmetic` implied by `-D warnings`
8 = note: double check for expected result especially when interoperating with different languages
9 = note: or consider using `rem_euclid` or similar function
11 error: you are using modulo operator on constants with different signs: `1 % -2`
12 --> $DIR/modulo_arithmetic_integral_const.rs:12:5
17 = note: double check for expected result especially when interoperating with different languages
18 = note: or consider using `rem_euclid` or similar function
20 error: you are using modulo operator on constants with different signs: `-1 % 3`
21 --> $DIR/modulo_arithmetic_integral_const.rs:13:5
23 LL | (1 - 2) % (1 + 2);
26 = note: double check for expected result especially when interoperating with different languages
27 = note: or consider using `rem_euclid` or similar function
29 error: you are using modulo operator on constants with different signs: `3 % -1`
30 --> $DIR/modulo_arithmetic_integral_const.rs:14:5
32 LL | (1 + 2) % (1 - 2);
35 = note: double check for expected result especially when interoperating with different languages
36 = note: or consider using `rem_euclid` or similar function
38 error: you are using modulo operator on constants with different signs: `-35 % 300000`
39 --> $DIR/modulo_arithmetic_integral_const.rs:15:5
41 LL | 35 * (7 - 4 * 2) % (-500 * -600);
42 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44 = note: double check for expected result especially when interoperating with different languages
45 = note: or consider using `rem_euclid` or similar function
47 error: you are using modulo operator on constants with different signs: `-1 % 2`
48 --> $DIR/modulo_arithmetic_integral_const.rs:17:5
53 = note: double check for expected result especially when interoperating with different languages
54 = note: or consider using `rem_euclid` or similar function
56 error: you are using modulo operator on constants with different signs: `1 % -2`
57 --> $DIR/modulo_arithmetic_integral_const.rs:18:5
62 = note: double check for expected result especially when interoperating with different languages
63 = note: or consider using `rem_euclid` or similar function
65 error: you are using modulo operator on constants with different signs: `-1 % 2`
66 --> $DIR/modulo_arithmetic_integral_const.rs:19:5
71 = note: double check for expected result especially when interoperating with different languages
72 = note: or consider using `rem_euclid` or similar function
74 error: you are using modulo operator on constants with different signs: `1 % -2`
75 --> $DIR/modulo_arithmetic_integral_const.rs:20:5
80 = note: double check for expected result especially when interoperating with different languages
81 = note: or consider using `rem_euclid` or similar function
83 error: you are using modulo operator on constants with different signs: `-1 % 2`
84 --> $DIR/modulo_arithmetic_integral_const.rs:21:5
89 = note: double check for expected result especially when interoperating with different languages
90 = note: or consider using `rem_euclid` or similar function
92 error: you are using modulo operator on constants with different signs: `1 % -2`
93 --> $DIR/modulo_arithmetic_integral_const.rs:22:5
98 = note: double check for expected result especially when interoperating with different languages
99 = note: or consider using `rem_euclid` or similar function
101 error: you are using modulo operator on constants with different signs: `-1 % 2`
102 --> $DIR/modulo_arithmetic_integral_const.rs:23:5
107 = note: double check for expected result especially when interoperating with different languages
108 = note: or consider using `rem_euclid` or similar function
110 error: you are using modulo operator on constants with different signs: `1 % -2`
111 --> $DIR/modulo_arithmetic_integral_const.rs:24:5
116 = note: double check for expected result especially when interoperating with different languages
117 = note: or consider using `rem_euclid` or similar function
119 error: you are using modulo operator on constants with different signs: `-1 % 2`
120 --> $DIR/modulo_arithmetic_integral_const.rs:25:5
125 = note: double check for expected result especially when interoperating with different languages
126 = note: or consider using `rem_euclid` or similar function
128 error: you are using modulo operator on constants with different signs: `1 % -2`
129 --> $DIR/modulo_arithmetic_integral_const.rs:26:5
134 = note: double check for expected result especially when interoperating with different languages
135 = note: or consider using `rem_euclid` or similar function
137 error: you are using modulo operator on constants with different signs: `-1 % 2`
138 --> $DIR/modulo_arithmetic_integral_const.rs:27:5
140 LL | -1isize % 2isize;
143 = note: double check for expected result especially when interoperating with different languages
144 = note: or consider using `rem_euclid` or similar function
146 error: you are using modulo operator on constants with different signs: `1 % -2`
147 --> $DIR/modulo_arithmetic_integral_const.rs:28:5
149 LL | 1isize % -2isize;
152 = note: double check for expected result especially when interoperating with different languages
153 = note: or consider using `rem_euclid` or similar function
155 error: aborting due to 17 previous errors