1 error: variable appears on both sides of an assignment operation
2 --> $DIR/assign_ops2.rs:5:5
7 = note: `-D clippy::misrefactored-assign-op` implied by `-D warnings`
8 help: Did you mean a = a + 1 or a = a + a + 1? Consider replacing it with
17 error: variable appears on both sides of an assignment operation
18 --> $DIR/assign_ops2.rs:6:5
22 help: Did you mean a = a + 1 or a = a + 1 + a? Consider replacing it with
31 error: variable appears on both sides of an assignment operation
32 --> $DIR/assign_ops2.rs:7:5
36 help: Did you mean a = a - 1 or a = a - (a - 1)? Consider replacing it with
45 error: variable appears on both sides of an assignment operation
46 --> $DIR/assign_ops2.rs:8:5
50 help: Did you mean a = a * 99 or a = a * a * 99? Consider replacing it with
59 error: variable appears on both sides of an assignment operation
60 --> $DIR/assign_ops2.rs:9:5
64 help: Did you mean a = a * 42 or a = a * 42 * a? Consider replacing it with
73 error: variable appears on both sides of an assignment operation
74 --> $DIR/assign_ops2.rs:10:5
78 help: Did you mean a = a / 2 or a = a / (a / 2)? Consider replacing it with
87 error: variable appears on both sides of an assignment operation
88 --> $DIR/assign_ops2.rs:11:5
92 help: Did you mean a = a % 5 or a = a % (a % 5)? Consider replacing it with
101 error: variable appears on both sides of an assignment operation
102 --> $DIR/assign_ops2.rs:12:5
106 help: Did you mean a = a & 1 or a = a & a & 1? Consider replacing it with
115 error: variable appears on both sides of an assignment operation
116 --> $DIR/assign_ops2.rs:13:5
120 help: Did you mean a = a * a or a = a * a * a? Consider replacing it with
129 error: manual implementation of an assign operation
130 --> $DIR/assign_ops2.rs:50:5
132 LL | buf = buf + cows.clone();
133 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `buf += cows.clone()`
135 = note: `-D clippy::assign-op-pattern` implied by `-D warnings`
137 error: aborting due to 10 previous errors