1error: you are using modulo operator on types that might have different signs 2 --> $DIR/modulo_arithmetic_integral.rs:8:5 3 | 4LL | a % b; 5 | ^^^^^ 6 | 7 = note: double check for expected result especially when interoperating with different languages 8 = note: or consider using `rem_euclid` or similar function 9 = note: `-D clippy::modulo-arithmetic` implied by `-D warnings` 10 11error: you are using modulo operator on types that might have different signs 12 --> $DIR/modulo_arithmetic_integral.rs:9:5 13 | 14LL | b % a; 15 | ^^^^^ 16 | 17 = note: double check for expected result especially when interoperating with different languages 18 = note: or consider using `rem_euclid` or similar function 19 20error: you are using modulo operator on types that might have different signs 21 --> $DIR/modulo_arithmetic_integral.rs:10:5 22 | 23LL | b %= a; 24 | ^^^^^^ 25 | 26 = note: double check for expected result especially when interoperating with different languages 27 = note: or consider using `rem_euclid` or similar function 28 29error: you are using modulo operator on types that might have different signs 30 --> $DIR/modulo_arithmetic_integral.rs:14:5 31 | 32LL | a_i8 % b_i8; 33 | ^^^^^^^^^^^ 34 | 35 = note: double check for expected result especially when interoperating with different languages 36 = note: or consider using `rem_euclid` or similar function 37 38error: you are using modulo operator on types that might have different signs 39 --> $DIR/modulo_arithmetic_integral.rs:15:5 40 | 41LL | b_i8 %= a_i8; 42 | ^^^^^^^^^^^^ 43 | 44 = note: double check for expected result especially when interoperating with different languages 45 = note: or consider using `rem_euclid` or similar function 46 47error: you are using modulo operator on types that might have different signs 48 --> $DIR/modulo_arithmetic_integral.rs:19:5 49 | 50LL | a_i16 % b_i16; 51 | ^^^^^^^^^^^^^ 52 | 53 = note: double check for expected result especially when interoperating with different languages 54 = note: or consider using `rem_euclid` or similar function 55 56error: you are using modulo operator on types that might have different signs 57 --> $DIR/modulo_arithmetic_integral.rs:20:5 58 | 59LL | b_i16 %= a_i16; 60 | ^^^^^^^^^^^^^^ 61 | 62 = note: double check for expected result especially when interoperating with different languages 63 = note: or consider using `rem_euclid` or similar function 64 65error: you are using modulo operator on types that might have different signs 66 --> $DIR/modulo_arithmetic_integral.rs:24:5 67 | 68LL | a_i32 % b_i32; 69 | ^^^^^^^^^^^^^ 70 | 71 = note: double check for expected result especially when interoperating with different languages 72 = note: or consider using `rem_euclid` or similar function 73 74error: you are using modulo operator on types that might have different signs 75 --> $DIR/modulo_arithmetic_integral.rs:25:5 76 | 77LL | b_i32 %= a_i32; 78 | ^^^^^^^^^^^^^^ 79 | 80 = note: double check for expected result especially when interoperating with different languages 81 = note: or consider using `rem_euclid` or similar function 82 83error: you are using modulo operator on types that might have different signs 84 --> $DIR/modulo_arithmetic_integral.rs:29:5 85 | 86LL | a_i64 % b_i64; 87 | ^^^^^^^^^^^^^ 88 | 89 = note: double check for expected result especially when interoperating with different languages 90 = note: or consider using `rem_euclid` or similar function 91 92error: you are using modulo operator on types that might have different signs 93 --> $DIR/modulo_arithmetic_integral.rs:30:5 94 | 95LL | b_i64 %= a_i64; 96 | ^^^^^^^^^^^^^^ 97 | 98 = note: double check for expected result especially when interoperating with different languages 99 = note: or consider using `rem_euclid` or similar function 100 101error: you are using modulo operator on types that might have different signs 102 --> $DIR/modulo_arithmetic_integral.rs:34:5 103 | 104LL | a_i128 % b_i128; 105 | ^^^^^^^^^^^^^^^ 106 | 107 = note: double check for expected result especially when interoperating with different languages 108 = note: or consider using `rem_euclid` or similar function 109 110error: you are using modulo operator on types that might have different signs 111 --> $DIR/modulo_arithmetic_integral.rs:35:5 112 | 113LL | b_i128 %= a_i128; 114 | ^^^^^^^^^^^^^^^^ 115 | 116 = note: double check for expected result especially when interoperating with different languages 117 = note: or consider using `rem_euclid` or similar function 118 119error: you are using modulo operator on types that might have different signs 120 --> $DIR/modulo_arithmetic_integral.rs:39:5 121 | 122LL | a_isize % b_isize; 123 | ^^^^^^^^^^^^^^^^^ 124 | 125 = note: double check for expected result especially when interoperating with different languages 126 = note: or consider using `rem_euclid` or similar function 127 128error: you are using modulo operator on types that might have different signs 129 --> $DIR/modulo_arithmetic_integral.rs:40:5 130 | 131LL | b_isize %= a_isize; 132 | ^^^^^^^^^^^^^^^^^^ 133 | 134 = note: double check for expected result especially when interoperating with different languages 135 = note: or consider using `rem_euclid` or similar function 136 137error: you are using modulo operator on types that might have different signs 138 --> $DIR/modulo_arithmetic_integral.rs:44:5 139 | 140LL | a % b; 141 | ^^^^^ 142 | 143 = note: double check for expected result especially when interoperating with different languages 144 = note: or consider using `rem_euclid` or similar function 145 146error: you are using modulo operator on types that might have different signs 147 --> $DIR/modulo_arithmetic_integral.rs:45:5 148 | 149LL | b %= a; 150 | ^^^^^^ 151 | 152 = note: double check for expected result especially when interoperating with different languages 153 = note: or consider using `rem_euclid` or similar function 154 155error: aborting due to 17 previous errors 156 157