fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: suspicious use of `-` in `Add` impl 2 --> $DIR/suspicious_arithmetic_impl.rs:13:20 3 | 4LL | Foo(self.0 - other.0) 5 | ^ 6 | 7 = note: `-D clippy::suspicious-arithmetic-impl` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::suspicious_arithmetic_impl)]` 9 10error: suspicious use of `-` in `AddAssign` impl 11 --> $DIR/suspicious_arithmetic_impl.rs:21:23 12 | 13LL | *self = *self - other; 14 | ^ 15 | 16 = note: `-D clippy::suspicious-op-assign-impl` implied by `-D warnings` 17 = help: to override `-D warnings` add `#[allow(clippy::suspicious_op_assign_impl)]` 18 19error: suspicious use of `/` in `MulAssign` impl 20 --> $DIR/suspicious_arithmetic_impl.rs:36:16 21 | 22LL | self.0 /= other.0; 23 | ^^ 24 25error: suspicious use of `/` in `Rem` impl 26 --> $DIR/suspicious_arithmetic_impl.rs:75:20 27 | 28LL | Foo(self.0 / other.0) 29 | ^ 30 31error: suspicious use of `|` in `BitAnd` impl 32 --> $DIR/suspicious_arithmetic_impl.rs:84:20 33 | 34LL | Foo(self.0 | other.0) 35 | ^ 36 37error: suspicious use of `^` in `BitOr` impl 38 --> $DIR/suspicious_arithmetic_impl.rs:93:20 39 | 40LL | Foo(self.0 ^ other.0) 41 | ^ 42 43error: suspicious use of `&` in `BitXor` impl 44 --> $DIR/suspicious_arithmetic_impl.rs:102:20 45 | 46LL | Foo(self.0 & other.0) 47 | ^ 48 49error: suspicious use of `>>` in `Shl` impl 50 --> $DIR/suspicious_arithmetic_impl.rs:111:20 51 | 52LL | Foo(self.0 >> other.0) 53 | ^^ 54 55error: suspicious use of `<<` in `Shr` impl 56 --> $DIR/suspicious_arithmetic_impl.rs:120:20 57 | 58LL | Foo(self.0 << other.0) 59 | ^^ 60 61error: aborting due to 9 previous errors 62