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