2022-08-26 02:16:41 -05:00
|
|
|
error: assignments don't nest intuitively
|
|
|
|
--> $DIR/multi_assignments.rs:4:5
|
|
|
|
|
|
|
|
|
LL | a = b = c;
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::multi-assignments` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/multi_assignments.rs:7:5
|
2022-08-26 02:16:41 -05:00
|
|
|
|
|
|
|
|
LL | a = b = c = d;
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/multi_assignments.rs:7:9
|
2022-08-26 02:16:41 -05:00
|
|
|
|
|
|
|
|
LL | a = b = c = d;
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/multi_assignments.rs:10:5
|
2022-08-26 02:16:41 -05:00
|
|
|
|
|
|
|
|
LL | a = b = { c };
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/multi_assignments.rs:12:5
|
2022-08-26 02:16:41 -05:00
|
|
|
|
|
|
|
|
LL | a = { b = c };
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/multi_assignments.rs:14:5
|
2022-08-26 02:16:41 -05:00
|
|
|
|
|
|
|
|
LL | a = (b = c);
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|