blob: a2ab86443536cac831dc302815263e4793d7b915 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
error[E0425]: cannot find value `banana` in this scope
--> $DIR/issue-60057.rs:8:21
|
LL | banana: u8,
| ---------- a field by that name exists in `Self`
...
LL | banana: banana
| ^^^^^^
error[E0425]: cannot find value `banana` in this scope
--> $DIR/issue-60057.rs:14:21
|
LL | banana: banana
| ^^^^^^
|
help: you might have meant to use the available field
|
LL | banana: self.banana
| +++++
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0425`.
|