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