]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0560.stderr
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[rust.git] / src / test / ui / error-codes / E0560.stderr
1 error[E0560]: struct `Simba` has no field named `father`
2   --> $DIR/E0560.rs:6:32
3    |
4 LL |     let s = Simba { mother: 1, father: 0 };
5    |                                ^^^^^^ `Simba` does not have this field
6    |
7    = note: available fields are: `mother`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0560`.