]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-87872-missing-inaccessible-field-literal.stderr
Rollup merge of #95361 - scottmcm:valid-align, r=Mark-Simulacrum
[rust.git] / src / test / ui / typeck / issue-87872-missing-inaccessible-field-literal.stderr
1 error: cannot construct `Foo` with struct literal syntax due to inaccessible fields
2   --> $DIR/issue-87872-missing-inaccessible-field-literal.rs:9:5
3    |
4 LL |     foo::Foo {};
5    |     ^^^^^^^^
6
7 error: aborting due to previous error
8