1 error: this operation will panic at runtime
2 --> $DIR/integer_arithmetic.rs:37:5
5 | ^^^^^^ attempt to divide `_` by zero
7 = note: `#[deny(unconditional_panic)]` on by default
9 error: this operation will panic at runtime
10 --> $DIR/integer_arithmetic.rs:42:5
13 | ^^^^^^ attempt to calculate the remainder of `_` with a divisor of zero
15 error: integer arithmetic detected
16 --> $DIR/integer_arithmetic.rs:16:5
21 = note: `-D clippy::integer-arithmetic` implied by `-D warnings`
23 error: integer arithmetic detected
24 --> $DIR/integer_arithmetic.rs:17:5
29 error: integer arithmetic detected
30 --> $DIR/integer_arithmetic.rs:18:5
33 LL | | i / 2; // no error, this is part of the expression in the preceding line
36 error: integer arithmetic detected
37 --> $DIR/integer_arithmetic.rs:20:5
42 error: integer arithmetic detected
43 --> $DIR/integer_arithmetic.rs:21:5
48 error: integer arithmetic detected
49 --> $DIR/integer_arithmetic.rs:22:5
54 error: integer arithmetic detected
55 --> $DIR/integer_arithmetic.rs:23:5
60 error: integer arithmetic detected
61 --> $DIR/integer_arithmetic.rs:33:5
66 error: integer arithmetic detected
67 --> $DIR/integer_arithmetic.rs:34:5
72 error: integer arithmetic detected
73 --> $DIR/integer_arithmetic.rs:35:5
78 error: integer arithmetic detected
79 --> $DIR/integer_arithmetic.rs:38:11
84 error: integer arithmetic detected
85 --> $DIR/integer_arithmetic.rs:39:5
90 error: integer arithmetic detected
91 --> $DIR/integer_arithmetic.rs:40:5
96 error: integer arithmetic detected
97 --> $DIR/integer_arithmetic.rs:43:11
102 error: integer arithmetic detected
103 --> $DIR/integer_arithmetic.rs:44:5
108 error: integer arithmetic detected
109 --> $DIR/integer_arithmetic.rs:45:5
114 error: integer arithmetic detected
115 --> $DIR/integer_arithmetic.rs:46:5
120 error: integer arithmetic detected
121 --> $DIR/integer_arithmetic.rs:47:5
126 error: integer arithmetic detected
127 --> $DIR/integer_arithmetic.rs:89:5
132 error: integer arithmetic detected
133 --> $DIR/integer_arithmetic.rs:90:5
138 error: integer arithmetic detected
139 --> $DIR/integer_arithmetic.rs:91:5
144 error: integer arithmetic detected
145 --> $DIR/integer_arithmetic.rs:96:5
150 error: integer arithmetic detected
151 --> $DIR/integer_arithmetic.rs:100:5
156 error: integer arithmetic detected
157 --> $DIR/integer_arithmetic.rs:104:5
162 error: integer arithmetic detected
163 --> $DIR/integer_arithmetic.rs:108:5
168 error: aborting due to 27 previous errors