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