summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/multi_assignments.stderr
blob: d6c42bb698cf97f34c5c02e30f9fd9e456bf6551 (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
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
  --> $DIR/multi_assignments.rs:5:5
   |
LL |     a = b = c = d;
   |     ^^^^^^^^^^^^^

error: assignments don't nest intuitively
  --> $DIR/multi_assignments.rs:5:9
   |
LL |     a = b = c = d;
   |         ^^^^^^^^^

error: assignments don't nest intuitively
  --> $DIR/multi_assignments.rs:6:5
   |
LL |     a = b = { c };
   |     ^^^^^^^^^^^^^

error: assignments don't nest intuitively
  --> $DIR/multi_assignments.rs:7:5
   |
LL |     a = { b = c };
   |     ^^^^^^^^^^^^^

error: assignments don't nest intuitively
  --> $DIR/multi_assignments.rs:8:5
   |
LL |     a = (b = c);
   |     ^^^^^^^^^^^

error: aborting due to 6 previous errors