1 error: assign operation detected
2 --> $DIR/assign_ops.rs:8:5
5 | ^^^^^^ help: replace it with: `i = i + 2`
7 = note: `-D assign-ops` implied by `-D warnings`
9 error: assign operation detected
10 --> $DIR/assign_ops.rs:9:5
13 | ^^^^^^^^^^^ help: replace it with: `i = i + 2 + 17`
15 error: assign operation detected
16 --> $DIR/assign_ops.rs:10:5
19 | ^^^^^^ help: replace it with: `i = i - 6`
21 error: assign operation detected
22 --> $DIR/assign_ops.rs:11:5
25 | ^^^^^^^^^^ help: replace it with: `i = i - (2 - 1)`
27 error: assign operation detected
28 --> $DIR/assign_ops.rs:12:5
31 | ^^^^^^ help: replace it with: `i = i * 5`
33 error: assign operation detected
34 --> $DIR/assign_ops.rs:13:5
37 | ^^^^^^^^ help: replace it with: `i = i * (1+5)`
39 error: assign operation detected
40 --> $DIR/assign_ops.rs:14:5
43 | ^^^^^^^ help: replace it with: `i = i / 32`
45 error: assign operation detected
46 --> $DIR/assign_ops.rs:15:5
49 | ^^^^^^^^^^^ help: replace it with: `i = i / (32 | 5)`
51 error: assign operation detected
52 --> $DIR/assign_ops.rs:16:5
55 | ^^^^^^^^^^^ help: replace it with: `i = i / (32 / 5)`
57 error: assign operation detected
58 --> $DIR/assign_ops.rs:17:5
61 | ^^^^^^^ help: replace it with: `i = i % 42`
63 error: assign operation detected
64 --> $DIR/assign_ops.rs:18:5
67 | ^^^^^^^ help: replace it with: `i = i >> i`
69 error: assign operation detected
70 --> $DIR/assign_ops.rs:19:5
73 | ^^^^^^^^^^^^^^^ help: replace it with: `i = i << (9 + 6 - 7)`
75 error: assign operation detected
76 --> $DIR/assign_ops.rs:20:5
79 | ^^^^^^^^^^^ help: replace it with: `i = i + (1 << 5)`
81 error: manual implementation of an assign operation
82 --> $DIR/assign_ops.rs:27:5
85 | ^^^^^^^^^ help: replace it with: `a += 1`
87 = note: `-D assign-op-pattern` implied by `-D warnings`
89 error: manual implementation of an assign operation
90 --> $DIR/assign_ops.rs:28:5
93 | ^^^^^^^^^ help: replace it with: `a += 1`
95 error: manual implementation of an assign operation
96 --> $DIR/assign_ops.rs:29:5
99 | ^^^^^^^^^ help: replace it with: `a -= 1`
101 error: manual implementation of an assign operation
102 --> $DIR/assign_ops.rs:30:5
105 | ^^^^^^^^^^ help: replace it with: `a *= 99`
107 error: manual implementation of an assign operation
108 --> $DIR/assign_ops.rs:31:5
111 | ^^^^^^^^^^ help: replace it with: `a *= 42`
113 error: manual implementation of an assign operation
114 --> $DIR/assign_ops.rs:32:5
117 | ^^^^^^^^^ help: replace it with: `a /= 2`
119 error: manual implementation of an assign operation
120 --> $DIR/assign_ops.rs:33:5
123 | ^^^^^^^^^ help: replace it with: `a %= 5`
125 error: manual implementation of an assign operation
126 --> $DIR/assign_ops.rs:34:5
129 | ^^^^^^^^^ help: replace it with: `a &= 1`
131 error: manual implementation of an assign operation
132 --> $DIR/assign_ops.rs:40:5
135 | ^^^^^^^^^^^^^ help: replace it with: `s += "bla"`
137 error: aborting due to 22 previous errors