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