]> git.lizzy.rs Git - rust.git/blob - tests/ui/suspicious_arithmetic_impl.stderr
Auto merge of #3635 - matthiaskrgr:revert_random_state_3603, r=xfix
[rust.git] / tests / ui / suspicious_arithmetic_impl.stderr
1 error: Suspicious use of binary operator in `Add` impl
2   --> $DIR/suspicious_arithmetic_impl.rs:20:20
3    |
4 LL |         Foo(self.0 - other.0)
5    |                    ^
6    |
7    = note: `-D clippy::suspicious-arithmetic-impl` implied by `-D warnings`
8
9 error: Suspicious use of binary operator in `AddAssign` impl
10   --> $DIR/suspicious_arithmetic_impl.rs:26:23
11    |
12 LL |         *self = *self - other;
13    |                       ^
14    |
15    = note: #[deny(clippy::suspicious_op_assign_impl)] on by default
16
17 error: aborting due to 2 previous errors
18