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