]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-50618.stderr
point at private fields in struct literal
[rust.git] / src / test / ui / issues / issue-50618.stderr
1 error[E0560]: struct `Point` has no field named `nonexistent`
2   --> $DIR/issue-50618.rs:14:13
3    |
4 LL |             nonexistent: 0,
5    |             ^^^^^^^^^^^ `Point` does not have this field
6    |
7    = note: available fields are: `x`, `y`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0560`.