fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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