]> git.lizzy.rs Git - rust.git/blob - src/test/ui/structs/struct-fields-shorthand.stderr
Rollup merge of #95534 - jyn514:std-mem-copy, r=joshtriplett
[rust.git] / src / test / ui / structs / struct-fields-shorthand.stderr
1 error[E0560]: struct `Foo` has no field named `z`
2   --> $DIR/struct-fields-shorthand.rs:9:15
3    |
4 LL |         x, y, z
5    |               ^ `Foo` 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`.