1 error: arithmetic operation that can potentially result in unexpected side-effects
2 --> $DIR/arithmetic_side_effects.rs:270:5
7 = note: `-D clippy::arithmetic-side-effects` implied by `-D warnings`
9 error: arithmetic operation that can potentially result in unexpected side-effects
10 --> $DIR/arithmetic_side_effects.rs:271:5
15 error: arithmetic operation that can potentially result in unexpected side-effects
16 --> $DIR/arithmetic_side_effects.rs:272:5
21 error: arithmetic operation that can potentially result in unexpected side-effects
22 --> $DIR/arithmetic_side_effects.rs:273:5
27 error: arithmetic operation that can potentially result in unexpected side-effects
28 --> $DIR/arithmetic_side_effects.rs:274:5
33 error: arithmetic operation that can potentially result in unexpected side-effects
34 --> $DIR/arithmetic_side_effects.rs:275:5
39 error: arithmetic operation that can potentially result in unexpected side-effects
40 --> $DIR/arithmetic_side_effects.rs:276:5
45 error: arithmetic operation that can potentially result in unexpected side-effects
46 --> $DIR/arithmetic_side_effects.rs:277:5
51 error: arithmetic operation that can potentially result in unexpected side-effects
52 --> $DIR/arithmetic_side_effects.rs:278:5
57 error: arithmetic operation that can potentially result in unexpected side-effects
58 --> $DIR/arithmetic_side_effects.rs:279:5
63 error: arithmetic operation that can potentially result in unexpected side-effects
64 --> $DIR/arithmetic_side_effects.rs:280:5
69 error: arithmetic operation that can potentially result in unexpected side-effects
70 --> $DIR/arithmetic_side_effects.rs:281:5
75 error: arithmetic operation that can potentially result in unexpected side-effects
76 --> $DIR/arithmetic_side_effects.rs:282:5
81 error: arithmetic operation that can potentially result in unexpected side-effects
82 --> $DIR/arithmetic_side_effects.rs:283:5
87 error: arithmetic operation that can potentially result in unexpected side-effects
88 --> $DIR/arithmetic_side_effects.rs:284:5
93 error: arithmetic operation that can potentially result in unexpected side-effects
94 --> $DIR/arithmetic_side_effects.rs:285:5
99 error: arithmetic operation that can potentially result in unexpected side-effects
100 --> $DIR/arithmetic_side_effects.rs:286:5
105 error: arithmetic operation that can potentially result in unexpected side-effects
106 --> $DIR/arithmetic_side_effects.rs:287:5
111 error: arithmetic operation that can potentially result in unexpected side-effects
112 --> $DIR/arithmetic_side_effects.rs:288:5
117 error: arithmetic operation that can potentially result in unexpected side-effects
118 --> $DIR/arithmetic_side_effects.rs:289:5
123 error: arithmetic operation that can potentially result in unexpected side-effects
124 --> $DIR/arithmetic_side_effects.rs:290:5
126 LL | _custom += Custom;
129 error: arithmetic operation that can potentially result in unexpected side-effects
130 --> $DIR/arithmetic_side_effects.rs:291:5
132 LL | _custom += &Custom;
135 error: arithmetic operation that can potentially result in unexpected side-effects
136 --> $DIR/arithmetic_side_effects.rs:292:5
138 LL | _custom -= Custom;
141 error: arithmetic operation that can potentially result in unexpected side-effects
142 --> $DIR/arithmetic_side_effects.rs:293:5
144 LL | _custom -= &Custom;
147 error: arithmetic operation that can potentially result in unexpected side-effects
148 --> $DIR/arithmetic_side_effects.rs:294:5
150 LL | _custom /= Custom;
153 error: arithmetic operation that can potentially result in unexpected side-effects
154 --> $DIR/arithmetic_side_effects.rs:295:5
156 LL | _custom /= &Custom;
159 error: arithmetic operation that can potentially result in unexpected side-effects
160 --> $DIR/arithmetic_side_effects.rs:296:5
162 LL | _custom %= Custom;
165 error: arithmetic operation that can potentially result in unexpected side-effects
166 --> $DIR/arithmetic_side_effects.rs:297:5
168 LL | _custom %= &Custom;
171 error: arithmetic operation that can potentially result in unexpected side-effects
172 --> $DIR/arithmetic_side_effects.rs:298:5
174 LL | _custom *= Custom;
177 error: arithmetic operation that can potentially result in unexpected side-effects
178 --> $DIR/arithmetic_side_effects.rs:299:5
180 LL | _custom *= &Custom;
183 error: arithmetic operation that can potentially result in unexpected side-effects
184 --> $DIR/arithmetic_side_effects.rs:300:5
186 LL | _custom += -Custom;
189 error: arithmetic operation that can potentially result in unexpected side-effects
190 --> $DIR/arithmetic_side_effects.rs:301:5
192 LL | _custom += &-Custom;
193 | ^^^^^^^^^^^^^^^^^^^
195 error: arithmetic operation that can potentially result in unexpected side-effects
196 --> $DIR/arithmetic_side_effects.rs:302:5
198 LL | _custom -= -Custom;
201 error: arithmetic operation that can potentially result in unexpected side-effects
202 --> $DIR/arithmetic_side_effects.rs:303:5
204 LL | _custom -= &-Custom;
205 | ^^^^^^^^^^^^^^^^^^^
207 error: arithmetic operation that can potentially result in unexpected side-effects
208 --> $DIR/arithmetic_side_effects.rs:304:5
210 LL | _custom /= -Custom;
213 error: arithmetic operation that can potentially result in unexpected side-effects
214 --> $DIR/arithmetic_side_effects.rs:305:5
216 LL | _custom /= &-Custom;
217 | ^^^^^^^^^^^^^^^^^^^
219 error: arithmetic operation that can potentially result in unexpected side-effects
220 --> $DIR/arithmetic_side_effects.rs:306:5
222 LL | _custom %= -Custom;
225 error: arithmetic operation that can potentially result in unexpected side-effects
226 --> $DIR/arithmetic_side_effects.rs:307:5
228 LL | _custom %= &-Custom;
229 | ^^^^^^^^^^^^^^^^^^^
231 error: arithmetic operation that can potentially result in unexpected side-effects
232 --> $DIR/arithmetic_side_effects.rs:308:5
234 LL | _custom *= -Custom;
237 error: arithmetic operation that can potentially result in unexpected side-effects
238 --> $DIR/arithmetic_side_effects.rs:309:5
240 LL | _custom *= &-Custom;
241 | ^^^^^^^^^^^^^^^^^^^
243 error: arithmetic operation that can potentially result in unexpected side-effects
244 --> $DIR/arithmetic_side_effects.rs:312:10
249 error: arithmetic operation that can potentially result in unexpected side-effects
250 --> $DIR/arithmetic_side_effects.rs:313:10
255 error: arithmetic operation that can potentially result in unexpected side-effects
256 --> $DIR/arithmetic_side_effects.rs:314:10
261 error: arithmetic operation that can potentially result in unexpected side-effects
262 --> $DIR/arithmetic_side_effects.rs:315:10
267 error: arithmetic operation that can potentially result in unexpected side-effects
268 --> $DIR/arithmetic_side_effects.rs:316:10
273 error: arithmetic operation that can potentially result in unexpected side-effects
274 --> $DIR/arithmetic_side_effects.rs:317:10
279 error: arithmetic operation that can potentially result in unexpected side-effects
280 --> $DIR/arithmetic_side_effects.rs:318:10
285 error: arithmetic operation that can potentially result in unexpected side-effects
286 --> $DIR/arithmetic_side_effects.rs:319:10
291 error: arithmetic operation that can potentially result in unexpected side-effects
292 --> $DIR/arithmetic_side_effects.rs:320:10
297 error: arithmetic operation that can potentially result in unexpected side-effects
298 --> $DIR/arithmetic_side_effects.rs:321:10
303 error: arithmetic operation that can potentially result in unexpected side-effects
304 --> $DIR/arithmetic_side_effects.rs:322:10
309 error: arithmetic operation that can potentially result in unexpected side-effects
310 --> $DIR/arithmetic_side_effects.rs:323:10
315 error: arithmetic operation that can potentially result in unexpected side-effects
316 --> $DIR/arithmetic_side_effects.rs:324:10
321 error: arithmetic operation that can potentially result in unexpected side-effects
322 --> $DIR/arithmetic_side_effects.rs:325:10
327 error: arithmetic operation that can potentially result in unexpected side-effects
328 --> $DIR/arithmetic_side_effects.rs:326:10
333 error: arithmetic operation that can potentially result in unexpected side-effects
334 --> $DIR/arithmetic_side_effects.rs:327:10
339 error: arithmetic operation that can potentially result in unexpected side-effects
340 --> $DIR/arithmetic_side_effects.rs:328:10
345 error: arithmetic operation that can potentially result in unexpected side-effects
346 --> $DIR/arithmetic_side_effects.rs:329:10
351 error: arithmetic operation that can potentially result in unexpected side-effects
352 --> $DIR/arithmetic_side_effects.rs:330:10
357 error: arithmetic operation that can potentially result in unexpected side-effects
358 --> $DIR/arithmetic_side_effects.rs:331:15
360 LL | _custom = _custom + _custom;
363 error: arithmetic operation that can potentially result in unexpected side-effects
364 --> $DIR/arithmetic_side_effects.rs:332:15
366 LL | _custom = _custom + &_custom;
369 error: arithmetic operation that can potentially result in unexpected side-effects
370 --> $DIR/arithmetic_side_effects.rs:333:15
372 LL | _custom = Custom + _custom;
375 error: arithmetic operation that can potentially result in unexpected side-effects
376 --> $DIR/arithmetic_side_effects.rs:334:15
378 LL | _custom = &Custom + _custom;
381 error: arithmetic operation that can potentially result in unexpected side-effects
382 --> $DIR/arithmetic_side_effects.rs:335:15
384 LL | _custom = _custom - Custom;
387 error: arithmetic operation that can potentially result in unexpected side-effects
388 --> $DIR/arithmetic_side_effects.rs:336:15
390 LL | _custom = _custom - &Custom;
393 error: arithmetic operation that can potentially result in unexpected side-effects
394 --> $DIR/arithmetic_side_effects.rs:337:15
396 LL | _custom = Custom - _custom;
399 error: arithmetic operation that can potentially result in unexpected side-effects
400 --> $DIR/arithmetic_side_effects.rs:338:15
402 LL | _custom = &Custom - _custom;
405 error: arithmetic operation that can potentially result in unexpected side-effects
406 --> $DIR/arithmetic_side_effects.rs:339:15
408 LL | _custom = _custom / Custom;
411 error: arithmetic operation that can potentially result in unexpected side-effects
412 --> $DIR/arithmetic_side_effects.rs:340:15
414 LL | _custom = _custom / &Custom;
417 error: arithmetic operation that can potentially result in unexpected side-effects
418 --> $DIR/arithmetic_side_effects.rs:341:15
420 LL | _custom = _custom % Custom;
423 error: arithmetic operation that can potentially result in unexpected side-effects
424 --> $DIR/arithmetic_side_effects.rs:342:15
426 LL | _custom = _custom % &Custom;
429 error: arithmetic operation that can potentially result in unexpected side-effects
430 --> $DIR/arithmetic_side_effects.rs:343:15
432 LL | _custom = _custom * Custom;
435 error: arithmetic operation that can potentially result in unexpected side-effects
436 --> $DIR/arithmetic_side_effects.rs:344:15
438 LL | _custom = _custom * &Custom;
441 error: arithmetic operation that can potentially result in unexpected side-effects
442 --> $DIR/arithmetic_side_effects.rs:345:15
444 LL | _custom = Custom * _custom;
447 error: arithmetic operation that can potentially result in unexpected side-effects
448 --> $DIR/arithmetic_side_effects.rs:346:15
450 LL | _custom = &Custom * _custom;
453 error: arithmetic operation that can potentially result in unexpected side-effects
454 --> $DIR/arithmetic_side_effects.rs:347:15
456 LL | _custom = Custom + &Custom;
459 error: arithmetic operation that can potentially result in unexpected side-effects
460 --> $DIR/arithmetic_side_effects.rs:348:15
462 LL | _custom = &Custom + Custom;
465 error: arithmetic operation that can potentially result in unexpected side-effects
466 --> $DIR/arithmetic_side_effects.rs:349:15
468 LL | _custom = &Custom + &Custom;
471 error: arithmetic operation that can potentially result in unexpected side-effects
472 --> $DIR/arithmetic_side_effects.rs:352:10
477 error: arithmetic operation that can potentially result in unexpected side-effects
478 --> $DIR/arithmetic_side_effects.rs:353:10
483 error: arithmetic operation that can potentially result in unexpected side-effects
484 --> $DIR/arithmetic_side_effects.rs:354:15
486 LL | _custom = -_custom;
489 error: arithmetic operation that can potentially result in unexpected side-effects
490 --> $DIR/arithmetic_side_effects.rs:355:15
492 LL | _custom = -&_custom;
495 error: arithmetic operation that can potentially result in unexpected side-effects
496 --> $DIR/arithmetic_side_effects.rs:364:5
501 error: arithmetic operation that can potentially result in unexpected side-effects
502 --> $DIR/arithmetic_side_effects.rs:365:5
507 error: arithmetic operation that can potentially result in unexpected side-effects
508 --> $DIR/arithmetic_side_effects.rs:367:5
513 error: arithmetic operation that can potentially result in unexpected side-effects
514 --> $DIR/arithmetic_side_effects.rs:368:5
519 error: arithmetic operation that can potentially result in unexpected side-effects
520 --> $DIR/arithmetic_side_effects.rs:369:5
525 error: arithmetic operation that can potentially result in unexpected side-effects
526 --> $DIR/arithmetic_side_effects.rs:370:5
531 error: arithmetic operation that can potentially result in unexpected side-effects
532 --> $DIR/arithmetic_side_effects.rs:379:5
537 error: arithmetic operation that can potentially result in unexpected side-effects
538 --> $DIR/arithmetic_side_effects.rs:380:5
543 error: arithmetic operation that can potentially result in unexpected side-effects
544 --> $DIR/arithmetic_side_effects.rs:381:5
549 error: arithmetic operation that can potentially result in unexpected side-effects
550 --> $DIR/arithmetic_side_effects.rs:383:5
555 error: arithmetic operation that can potentially result in unexpected side-effects
556 --> $DIR/arithmetic_side_effects.rs:385:5
561 error: arithmetic operation that can potentially result in unexpected side-effects
562 --> $DIR/arithmetic_side_effects.rs:386:5
567 error: arithmetic operation that can potentially result in unexpected side-effects
568 --> $DIR/arithmetic_side_effects.rs:388:5
573 error: arithmetic operation that can potentially result in unexpected side-effects
574 --> $DIR/arithmetic_side_effects.rs:390:5
579 error: arithmetic operation that can potentially result in unexpected side-effects
580 --> $DIR/arithmetic_side_effects.rs:391:5
585 error: arithmetic operation that can potentially result in unexpected side-effects
586 --> $DIR/arithmetic_side_effects.rs:392:5
591 error: arithmetic operation that can potentially result in unexpected side-effects
592 --> $DIR/arithmetic_side_effects.rs:393:5
597 error: aborting due to 99 previous errors