|
1 | 1 | error[E0425]: cannot find value `x` in this scope |
2 | | - --> $DIR/issue-104086-suggest-let.rs:4:5 |
| 2 | + --> $DIR/issue-104086-suggest-let.rs:2:5 |
3 | 3 | | |
4 | 4 | LL | x = x = x; |
5 | 5 | | ^ not found in this scope |
6 | 6 |
|
7 | 7 | error[E0425]: cannot find value `x` in this scope |
8 | | - --> $DIR/issue-104086-suggest-let.rs:4:9 |
| 8 | + --> $DIR/issue-104086-suggest-let.rs:2:9 |
9 | 9 | | |
10 | 10 | LL | x = x = x; |
11 | 11 | | ^ not found in this scope |
12 | 12 |
|
13 | 13 | error[E0425]: cannot find value `x` in this scope |
14 | | - --> $DIR/issue-104086-suggest-let.rs:4:13 |
| 14 | + --> $DIR/issue-104086-suggest-let.rs:2:13 |
15 | 15 | | |
16 | 16 | LL | x = x = x; |
17 | 17 | | ^ not found in this scope |
18 | 18 |
|
19 | 19 | error[E0425]: cannot find value `x` in this scope |
20 | | - --> $DIR/issue-104086-suggest-let.rs:5:5 |
| 20 | + --> $DIR/issue-104086-suggest-let.rs:7:5 |
21 | 21 | | |
22 | 22 | LL | x = y = y = y; |
23 | 23 | | ^ not found in this scope |
24 | 24 |
|
25 | 25 | error[E0425]: cannot find value `y` in this scope |
26 | | - --> $DIR/issue-104086-suggest-let.rs:5:9 |
| 26 | + --> $DIR/issue-104086-suggest-let.rs:7:9 |
27 | 27 | | |
28 | 28 | LL | x = y = y = y; |
29 | 29 | | ^ not found in this scope |
30 | 30 |
|
31 | 31 | error[E0425]: cannot find value `y` in this scope |
32 | | - --> $DIR/issue-104086-suggest-let.rs:5:13 |
| 32 | + --> $DIR/issue-104086-suggest-let.rs:7:13 |
33 | 33 | | |
34 | 34 | LL | x = y = y = y; |
35 | 35 | | ^ not found in this scope |
36 | 36 |
|
37 | 37 | error[E0425]: cannot find value `y` in this scope |
38 | | - --> $DIR/issue-104086-suggest-let.rs:5:17 |
| 38 | + --> $DIR/issue-104086-suggest-let.rs:7:17 |
39 | 39 | | |
40 | 40 | LL | x = y = y = y; |
41 | 41 | | ^ not found in this scope |
42 | 42 |
|
43 | 43 | error[E0425]: cannot find value `x` in this scope |
44 | | - --> $DIR/issue-104086-suggest-let.rs:6:5 |
| 44 | + --> $DIR/issue-104086-suggest-let.rs:13:5 |
45 | 45 | | |
46 | 46 | LL | x = y = y; |
47 | 47 | | ^ not found in this scope |
48 | 48 |
|
49 | 49 | error[E0425]: cannot find value `y` in this scope |
50 | | - --> $DIR/issue-104086-suggest-let.rs:6:9 |
| 50 | + --> $DIR/issue-104086-suggest-let.rs:13:9 |
51 | 51 | | |
52 | 52 | LL | x = y = y; |
53 | 53 | | ^ not found in this scope |
54 | 54 |
|
55 | 55 | error[E0425]: cannot find value `y` in this scope |
56 | | - --> $DIR/issue-104086-suggest-let.rs:6:13 |
| 56 | + --> $DIR/issue-104086-suggest-let.rs:13:13 |
57 | 57 | | |
58 | 58 | LL | x = y = y; |
59 | 59 | | ^ not found in this scope |
60 | 60 |
|
61 | 61 | error[E0425]: cannot find value `x` in this scope |
62 | | - --> $DIR/issue-104086-suggest-let.rs:7:5 |
| 62 | + --> $DIR/issue-104086-suggest-let.rs:18:5 |
63 | 63 | | |
64 | 64 | LL | x = x = y; |
65 | 65 | | ^ not found in this scope |
66 | 66 |
|
67 | 67 | error[E0425]: cannot find value `x` in this scope |
68 | | - --> $DIR/issue-104086-suggest-let.rs:7:9 |
| 68 | + --> $DIR/issue-104086-suggest-let.rs:18:9 |
69 | 69 | | |
70 | 70 | LL | x = x = y; |
71 | 71 | | ^ not found in this scope |
72 | 72 |
|
73 | 73 | error[E0425]: cannot find value `y` in this scope |
74 | | - --> $DIR/issue-104086-suggest-let.rs:7:13 |
| 74 | + --> $DIR/issue-104086-suggest-let.rs:18:13 |
75 | 75 | | |
76 | 76 | LL | x = x = y; |
77 | 77 | | ^ not found in this scope |
78 | 78 |
|
79 | | -error: aborting due to 13 previous errors |
| 79 | +error[E0425]: cannot find value `x` in this scope |
| 80 | + --> $DIR/issue-104086-suggest-let.rs:23:5 |
| 81 | + | |
| 82 | +LL | x = x; // will suggest add `let` |
| 83 | + | ^ |
| 84 | + | |
| 85 | +help: you might have meant to introduce a new binding |
| 86 | + | |
| 87 | +LL | let x = x; // will suggest add `let` |
| 88 | + | +++ |
| 89 | + |
| 90 | +error[E0425]: cannot find value `x` in this scope |
| 91 | + --> $DIR/issue-104086-suggest-let.rs:23:9 |
| 92 | + | |
| 93 | +LL | x = x; // will suggest add `let` |
| 94 | + | ^ not found in this scope |
| 95 | + |
| 96 | +error[E0425]: cannot find value `x` in this scope |
| 97 | + --> $DIR/issue-104086-suggest-let.rs:27:5 |
| 98 | + | |
| 99 | +LL | x = y // will suggest add `let` |
| 100 | + | ^ |
| 101 | + | |
| 102 | +help: you might have meant to introduce a new binding |
| 103 | + | |
| 104 | +LL | let x = y // will suggest add `let` |
| 105 | + | +++ |
| 106 | + |
| 107 | +error[E0425]: cannot find value `y` in this scope |
| 108 | + --> $DIR/issue-104086-suggest-let.rs:27:9 |
| 109 | + | |
| 110 | +LL | x = y // will suggest add `let` |
| 111 | + | ^ not found in this scope |
| 112 | + |
| 113 | +error: aborting due to 17 previous errors |
80 | 114 |
|
81 | 115 | For more information about this error, try `rustc --explain E0425`. |
0 commit comments