|
1 | 1 | error: manual implementation of an assign operation |
2 | | - --> $DIR/assign_ops.rs:5:5 |
| 2 | + --> $DIR/assign_ops.rs:7:5 |
3 | 3 | | |
4 | 4 | LL | a = a + 1; |
5 | 5 | | ^^^^^^^^^ help: replace it with: `a += 1` |
6 | 6 | | |
7 | 7 | = note: `-D clippy::assign-op-pattern` implied by `-D warnings` |
8 | 8 |
|
9 | 9 | error: manual implementation of an assign operation |
10 | | - --> $DIR/assign_ops.rs:6:5 |
| 10 | + --> $DIR/assign_ops.rs:8:5 |
11 | 11 | | |
12 | 12 | LL | a = 1 + a; |
13 | 13 | | ^^^^^^^^^ help: replace it with: `a += 1` |
14 | 14 |
|
15 | 15 | error: manual implementation of an assign operation |
16 | | - --> $DIR/assign_ops.rs:7:5 |
| 16 | + --> $DIR/assign_ops.rs:9:5 |
17 | 17 | | |
18 | 18 | LL | a = a - 1; |
19 | 19 | | ^^^^^^^^^ help: replace it with: `a -= 1` |
20 | 20 |
|
21 | 21 | error: manual implementation of an assign operation |
22 | | - --> $DIR/assign_ops.rs:8:5 |
| 22 | + --> $DIR/assign_ops.rs:10:5 |
23 | 23 | | |
24 | 24 | LL | a = a * 99; |
25 | 25 | | ^^^^^^^^^^ help: replace it with: `a *= 99` |
26 | 26 |
|
27 | 27 | error: manual implementation of an assign operation |
28 | | - --> $DIR/assign_ops.rs:9:5 |
| 28 | + --> $DIR/assign_ops.rs:11:5 |
29 | 29 | | |
30 | 30 | LL | a = 42 * a; |
31 | 31 | | ^^^^^^^^^^ help: replace it with: `a *= 42` |
32 | 32 |
|
33 | 33 | error: manual implementation of an assign operation |
34 | | - --> $DIR/assign_ops.rs:10:5 |
| 34 | + --> $DIR/assign_ops.rs:12:5 |
35 | 35 | | |
36 | 36 | LL | a = a / 2; |
37 | 37 | | ^^^^^^^^^ help: replace it with: `a /= 2` |
38 | 38 |
|
39 | 39 | error: manual implementation of an assign operation |
40 | | - --> $DIR/assign_ops.rs:11:5 |
| 40 | + --> $DIR/assign_ops.rs:13:5 |
41 | 41 | | |
42 | 42 | LL | a = a % 5; |
43 | 43 | | ^^^^^^^^^ help: replace it with: `a %= 5` |
44 | 44 |
|
45 | 45 | error: manual implementation of an assign operation |
46 | | - --> $DIR/assign_ops.rs:12:5 |
| 46 | + --> $DIR/assign_ops.rs:14:5 |
47 | 47 | | |
48 | 48 | LL | a = a & 1; |
49 | 49 | | ^^^^^^^^^ help: replace it with: `a &= 1` |
50 | 50 |
|
51 | 51 | error: manual implementation of an assign operation |
52 | | - --> $DIR/assign_ops.rs:18:5 |
| 52 | + --> $DIR/assign_ops.rs:20:5 |
53 | 53 | | |
54 | 54 | LL | s = s + "bla"; |
55 | 55 | | ^^^^^^^^^^^^^ help: replace it with: `s += "bla"` |
|
0 commit comments