blob: f0bd3e0ddf768002cf8af4d82fa92e4843666675 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: cannot construct `Foo` with struct literal syntax due to private fields
--> $DIR/issue-87872-missing-inaccessible-field-literal.rs:9:5
|
LL | foo::Foo {};
| ^^^^^^^^
|
= note: ... and other private field `you_cant_use_this_field` that was not provided
error: aborting due to previous error
|