mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
11 lines
286 B
Plaintext
11 lines
286 B
Plaintext
error: cannot construct `Foo` with struct literal syntax due to private fields
|
|
--> $DIR/issue-76077.rs:8:5
|
|
|
|
|
LL | foo::Foo {};
|
|
| ^^^^^^^^
|
|
|
|
|
= note: ... and other private field `you_cant_use_this_field` that was not provided
|
|
|
|
error: aborting due to previous error
|
|
|