]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/modulo_arithmetic_integral.stderr
bump version to 1.80.1+dfsg1-1~bpo12+pve1
[rustc.git] / src / tools / clippy / tests / ui / modulo_arithmetic_integral.stderr
1 error: you are using modulo operator on types that might have different signs
2 --> tests/ui/modulo_arithmetic_integral.rs:8:5
3 |
4 LL | 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
12 error: you are using modulo operator on types that might have different signs
13 --> tests/ui/modulo_arithmetic_integral.rs:11:5
14 |
15 LL | 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
21 error: you are using modulo operator on types that might have different signs
22 --> tests/ui/modulo_arithmetic_integral.rs:14:5
23 |
24 LL | 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
30 error: you are using modulo operator on types that might have different signs
31 --> tests/ui/modulo_arithmetic_integral.rs:20:5
32 |
33 LL | 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
39 error: you are using modulo operator on types that might have different signs
40 --> tests/ui/modulo_arithmetic_integral.rs:23:5
41 |
42 LL | 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
48 error: you are using modulo operator on types that might have different signs
49 --> tests/ui/modulo_arithmetic_integral.rs:29:5
50 |
51 LL | 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
57 error: you are using modulo operator on types that might have different signs
58 --> tests/ui/modulo_arithmetic_integral.rs:32:5
59 |
60 LL | 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
66 error: you are using modulo operator on types that might have different signs
67 --> tests/ui/modulo_arithmetic_integral.rs:38:5
68 |
69 LL | 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
75 error: you are using modulo operator on types that might have different signs
76 --> tests/ui/modulo_arithmetic_integral.rs:41:5
77 |
78 LL | 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
84 error: you are using modulo operator on types that might have different signs
85 --> tests/ui/modulo_arithmetic_integral.rs:47:5
86 |
87 LL | 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
93 error: you are using modulo operator on types that might have different signs
94 --> tests/ui/modulo_arithmetic_integral.rs:50:5
95 |
96 LL | 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
102 error: you are using modulo operator on types that might have different signs
103 --> tests/ui/modulo_arithmetic_integral.rs:56:5
104 |
105 LL | 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
111 error: you are using modulo operator on types that might have different signs
112 --> tests/ui/modulo_arithmetic_integral.rs:59:5
113 |
114 LL | 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
120 error: you are using modulo operator on types that might have different signs
121 --> tests/ui/modulo_arithmetic_integral.rs:65:5
122 |
123 LL | 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
129 error: you are using modulo operator on types that might have different signs
130 --> tests/ui/modulo_arithmetic_integral.rs:68:5
131 |
132 LL | 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
138 error: you are using modulo operator on types that might have different signs
139 --> tests/ui/modulo_arithmetic_integral.rs:74:5
140 |
141 LL | 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
147 error: you are using modulo operator on types that might have different signs
148 --> tests/ui/modulo_arithmetic_integral.rs:77:5
149 |
150 LL | 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
156 error: aborting due to 17 previous errors
157