1 error: variable appears on both sides of an assignment operation
2 --> $DIR/assign_ops2.rs:8:5
5 | ^^^^^^^^^^ help: replace it with `a += 1`
7 note: lint level defined here
8 --> $DIR/assign_ops2.rs:5:8
10 5 | #[deny(misrefactored_assign_op)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^
13 error: variable appears on both sides of an assignment operation
14 --> $DIR/assign_ops2.rs:9:5
17 | ^^^^^^^^^^ help: replace it with `a += 1`
19 error: variable appears on both sides of an assignment operation
20 --> $DIR/assign_ops2.rs:10:5
23 | ^^^^^^^^^^ help: replace it with `a -= 1`
25 error: variable appears on both sides of an assignment operation
26 --> $DIR/assign_ops2.rs:11:5
29 | ^^^^^^^^^^^ help: replace it with `a *= 99`
31 error: variable appears on both sides of an assignment operation
32 --> $DIR/assign_ops2.rs:12:5
35 | ^^^^^^^^^^^ help: replace it with `a *= 42`
37 error: variable appears on both sides of an assignment operation
38 --> $DIR/assign_ops2.rs:13:5
41 | ^^^^^^^^^^ help: replace it with `a /= 2`
43 error: variable appears on both sides of an assignment operation
44 --> $DIR/assign_ops2.rs:14:5
47 | ^^^^^^^^^^ help: replace it with `a %= 5`
49 error: variable appears on both sides of an assignment operation
50 --> $DIR/assign_ops2.rs:15:5
53 | ^^^^^^^^^^ help: replace it with `a &= 1`
55 error: aborting due to 8 previous errors