mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-07 20:43:03 +00:00
![Marek 'seqre' Grzelak](/assets/img/avatar_default.png)
Issue tests numbered 1920, 3668, 5997, 23302, 32122, 40510, 57741, 71676, and 76077 were moved to relevant better-named subdirectories. ISSUES_ENTRY_LIMIT was adjusted to match new number of files and FIXME note was expanded.
11 lines
274 B
Plaintext
11 lines
274 B
Plaintext
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
|
|
|