1 error: integer arithmetic detected
2 --> $DIR/arithmetic.rs:13:5
7 = note: `-D clippy::integer-arithmetic` implied by `-D warnings`
9 error: integer arithmetic detected
10 --> $DIR/arithmetic.rs:14:5
15 error: integer arithmetic detected
16 --> $DIR/arithmetic.rs:15:5
19 LL | | i / 2; // no error, this is part of the expression in the preceding line
22 error: integer arithmetic detected
23 --> $DIR/arithmetic.rs:17:5
28 error: integer arithmetic detected
29 --> $DIR/arithmetic.rs:18:5
34 error: floating-point arithmetic detected
35 --> $DIR/arithmetic.rs:32:5
40 = note: `-D clippy::float-arithmetic` implied by `-D warnings`
42 error: floating-point arithmetic detected
43 --> $DIR/arithmetic.rs:34:5
48 error: floating-point arithmetic detected
49 --> $DIR/arithmetic.rs:35:5
54 error: floating-point arithmetic detected
55 --> $DIR/arithmetic.rs:36:5
60 error: floating-point arithmetic detected
61 --> $DIR/arithmetic.rs:37:5
66 error: floating-point arithmetic detected
67 --> $DIR/arithmetic.rs:38:5
72 error: aborting due to 11 previous errors