2022-08-31 13:24:45 +00:00
|
|
|
error: assignments don't nest intuitively
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/multi_assignments.rs:4:5
|
2022-08-31 13:24:45 +00:00
|
|
|
|
|
|
|
|
LL | a = b = c;
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::multi-assignments` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::multi_assignments)]`
|
2022-08-31 13:24:45 +00:00
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/multi_assignments.rs:7:5
|
2022-08-31 13:24:45 +00:00
|
|
|
|
|
|
|
|
LL | a = b = c = d;
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/multi_assignments.rs:7:9
|
2022-08-31 13:24:45 +00:00
|
|
|
|
|
|
|
|
LL | a = b = c = d;
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/multi_assignments.rs:10:5
|
2022-08-31 13:24:45 +00:00
|
|
|
|
|
|
|
|
LL | a = b = { c };
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/multi_assignments.rs:12:5
|
2022-08-31 13:24:45 +00:00
|
|
|
|
|
|
|
|
LL | a = { b = c };
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: assignments don't nest intuitively
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/multi_assignments.rs:14:5
|
2022-08-31 13:24:45 +00:00
|
|
|
|
|
|
|
|
LL | a = (b = c);
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|