mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
24 lines
638 B
Plaintext
24 lines
638 B
Plaintext
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`.
|