]>
Commit | Line | Data |
---|---|---|
2c00a5a8 | 1 | error[E0560]: struct `Simba` has no field named `father` |
0731742a | 2 | --> $DIR/E0560.rs:6:32 |
2c00a5a8 | 3 | | |
0531ce1d XL |
4 | LL | let s = Simba { mother: 1, father: 0 }; |
5 | | ^^^^^^ `Simba` does not have this field | |
2c00a5a8 | 6 | | |
fe692bf9 | 7 | = note: all struct fields are already assigned |
2c00a5a8 | 8 | |
4b012472 | 9 | error: aborting due to 1 previous error |
2c00a5a8 | 10 | |
0531ce1d | 11 | For more information about this error, try `rustc --explain E0560`. |