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: integer arithmetic detected
35 --> $DIR/arithmetic.rs:30:5
40 error: integer arithmetic detected
41 --> $DIR/arithmetic.rs:31:5
46 error: integer arithmetic detected
47 --> $DIR/arithmetic.rs:32:5
52 error: integer arithmetic detected
53 --> $DIR/arithmetic.rs:33:5
58 error: integer arithmetic detected
59 --> $DIR/arithmetic.rs:34:5
64 error: floating-point arithmetic detected
65 --> $DIR/arithmetic.rs:45:5
70 = note: `-D clippy::float-arithmetic` implied by `-D warnings`
72 error: floating-point arithmetic detected
73 --> $DIR/arithmetic.rs:47:5
78 error: floating-point arithmetic detected
79 --> $DIR/arithmetic.rs:48:5
84 error: floating-point arithmetic detected
85 --> $DIR/arithmetic.rs:49:5
90 error: floating-point arithmetic detected
91 --> $DIR/arithmetic.rs:50:5
96 error: floating-point arithmetic detected
97 --> $DIR/arithmetic.rs:51:5
102 error: floating-point arithmetic detected
103 --> $DIR/arithmetic.rs:53:5
108 error: floating-point arithmetic detected
109 --> $DIR/arithmetic.rs:54:5
114 error: floating-point arithmetic detected
115 --> $DIR/arithmetic.rs:55:5
120 error: floating-point arithmetic detected
121 --> $DIR/arithmetic.rs:56:5
126 error: aborting due to 20 previous errors