fork/rust

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

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

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