1 error: suspicious use of binary operator in `Add` impl
2 --> $DIR/suspicious_arithmetic_impl.rs:13:20
4 LL | Foo(self.0 - other.0)
7 = note: `-D clippy::suspicious-arithmetic-impl` implied by `-D warnings`
9 error: suspicious use of binary operator in `AddAssign` impl
10 --> $DIR/suspicious_arithmetic_impl.rs:19:23
12 LL | *self = *self - other;
15 = note: `-D clippy::suspicious-op-assign-impl` implied by `-D warnings`
17 error: suspicious use of binary operator in `MulAssign` impl
18 --> $DIR/suspicious_arithmetic_impl.rs:32:16
20 LL | self.0 /= other.0;
23 error: suspicious use of binary operator in `Rem` impl
24 --> $DIR/suspicious_arithmetic_impl.rs:70:20
26 LL | Foo(self.0 / other.0)
29 error: suspicious use of binary operator in `BitAnd` impl
30 --> $DIR/suspicious_arithmetic_impl.rs:78:20
32 LL | Foo(self.0 | other.0)
35 error: suspicious use of binary operator in `BitOr` impl
36 --> $DIR/suspicious_arithmetic_impl.rs:86:20
38 LL | Foo(self.0 ^ other.0)
41 error: suspicious use of binary operator in `BitXor` impl
42 --> $DIR/suspicious_arithmetic_impl.rs:94:20
44 LL | Foo(self.0 & other.0)
47 error: suspicious use of binary operator in `Shl` impl
48 --> $DIR/suspicious_arithmetic_impl.rs:102:20
50 LL | Foo(self.0 >> other.0)
53 error: suspicious use of binary operator in `Shr` impl
54 --> $DIR/suspicious_arithmetic_impl.rs:110:20
56 LL | Foo(self.0 << other.0)
59 error: aborting due to 9 previous errors