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