]>
Commit | Line | Data |
---|---|---|
f2b60f7d FG |
1 | error: assignments don't nest intuitively |
2 | --> $DIR/multi_assignments.rs:4:5 | |
3 | | | |
4 | LL | a = b = c; | |
5 | | ^^^^^^^^^ | |
6 | | | |
7 | = note: `-D clippy::multi-assignments` implied by `-D warnings` | |
781aab86 | 8 | = help: to override `-D warnings` add `#[allow(clippy::multi_assignments)]` |
f2b60f7d FG |
9 | |
10 | error: assignments don't nest intuitively | |
781aab86 | 11 | --> $DIR/multi_assignments.rs:7:5 |
f2b60f7d FG |
12 | | |
13 | LL | a = b = c = d; | |
14 | | ^^^^^^^^^^^^^ | |
15 | ||
16 | error: assignments don't nest intuitively | |
781aab86 | 17 | --> $DIR/multi_assignments.rs:7:9 |
f2b60f7d FG |
18 | | |
19 | LL | a = b = c = d; | |
20 | | ^^^^^^^^^ | |
21 | ||
22 | error: assignments don't nest intuitively | |
781aab86 | 23 | --> $DIR/multi_assignments.rs:10:5 |
f2b60f7d FG |
24 | | |
25 | LL | a = b = { c }; | |
26 | | ^^^^^^^^^^^^^ | |
27 | ||
28 | error: assignments don't nest intuitively | |
781aab86 | 29 | --> $DIR/multi_assignments.rs:12:5 |
f2b60f7d FG |
30 | | |
31 | LL | a = { b = c }; | |
32 | | ^^^^^^^^^^^^^ | |
33 | ||
34 | error: assignments don't nest intuitively | |
781aab86 | 35 | --> $DIR/multi_assignments.rs:14:5 |
f2b60f7d FG |
36 | | |
37 | LL | a = (b = c); | |
38 | | ^^^^^^^^^^^ | |
39 | ||
40 | error: aborting due to 6 previous errors | |
41 |