1 error: integer arithmetic detected
7 = note: `-D integer-arithmetic` implied by `-D warnings`
9 error: integer arithmetic detected
15 = note: `-D integer-arithmetic` implied by `-D warnings`
17 error: integer arithmetic detected
18 --> arithmetic.rs:10:5
21 11 | | i / 2; // no error, this is part of the expression in the preceding line
24 = note: `-D integer-arithmetic` implied by `-D warnings`
26 error: integer arithmetic detected
27 --> arithmetic.rs:12:5
32 = note: `-D integer-arithmetic` implied by `-D warnings`
34 error: integer arithmetic detected
35 --> arithmetic.rs:13:5
40 = note: `-D integer-arithmetic` implied by `-D warnings`
42 error: floating-point arithmetic detected
43 --> arithmetic.rs:23:5
48 = note: `-D float-arithmetic` implied by `-D warnings`
50 error: floating-point arithmetic detected
51 --> arithmetic.rs:25:5
56 = note: `-D float-arithmetic` implied by `-D warnings`
58 error: floating-point arithmetic detected
59 --> arithmetic.rs:26:5
64 = note: `-D float-arithmetic` implied by `-D warnings`
66 error: floating-point arithmetic detected
67 --> arithmetic.rs:27:5
72 = note: `-D float-arithmetic` implied by `-D warnings`
74 error: floating-point arithmetic detected
75 --> arithmetic.rs:28:5
80 = note: `-D float-arithmetic` implied by `-D warnings`
82 error: floating-point arithmetic detected
83 --> arithmetic.rs:29:5
88 = note: `-D float-arithmetic` implied by `-D warnings`
90 error: aborting due to previous error(s)
93 To learn more, run the command again with --verbose.