]> git.proxmox.com Git - rustc.git/blame - tests/ui/error-codes/E0560.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / error-codes / E0560.stderr
CommitLineData
2c00a5a8 1error[E0560]: struct `Simba` has no field named `father`
0731742a 2 --> $DIR/E0560.rs:6:32
2c00a5a8 3 |
0531ce1d
XL
4LL | 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 9error: aborting due to 1 previous error
2c00a5a8 10
0531ce1d 11For more information about this error, try `rustc --explain E0560`.