blob: 3fef5ffce30dc98de6948c0de17bd8dfd837c858 (
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-76077.rs:8:5
|
LL | foo::Foo {};
| ^^^^^^^^
|
= note: private field `you_cant_use_this_field` that was not provided
error: aborting due to 1 previous error
|