]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-60057.stderr
bbe16d04919c0847fab2f63f2378e546b41827b8
[rust.git] / src / test / ui / issues / issue-60057.stderr
1 error[E0425]: cannot find value `banana` in this scope
2   --> $DIR/issue-60057.rs:8:21
3    |
4 LL |             banana: banana
5    |                     ^^^^^^ a field by this name exists in `Self`
6
7 error[E0425]: cannot find value `banana` in this scope
8   --> $DIR/issue-60057.rs:14:21
9    |
10 LL |             banana: banana
11    |                     ^^^^^^ help: you might have meant to use the available field: `self.banana`
12
13 error[E0601]: `main` function not found in crate `issue_60057`
14    |
15    = note: consider adding a `main` function to `$DIR/issue-60057.rs`
16
17 error: aborting due to 3 previous errors
18
19 Some errors occurred: E0425, E0601.
20 For more information about an error, try `rustc --explain E0425`.