fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0063]: missing field `private` in initializer of `Pub` 2 --> $DIR/issue-79593.rs:10:9 3 | 4LL | Pub {}; 5 | ^^^ missing `private` 6 7error[E0063]: missing field `y` in initializer of `Enum` 8 --> $DIR/issue-79593.rs:12:9 9 | 10LL | Enum::Variant { x: () }; 11 | ^^^^^^^^^^^^^ missing `y` 12 13error: cannot construct `Pub` with struct literal syntax due to private fields 14 --> $DIR/issue-79593.rs:18:5 15 | 16LL | foo::Pub {}; 17 | ^^^^^^^^ 18 | 19 = note: ... and other private field `private` that was not provided 20 21error[E0063]: missing field `y` in initializer of `Enum` 22 --> $DIR/issue-79593.rs:23:5 23 | 24LL | foo::Enum::Variant { x: () }; 25 | ^^^^^^^^^^^^^^^^^^ missing `y` 26 27error[E0063]: missing fields `x` and `y` in initializer of `Enum` 28 --> $DIR/issue-79593.rs:25:5 29 | 30LL | foo::Enum::Variant { }; 31 | ^^^^^^^^^^^^^^^^^^ missing `x` and `y` 32 33error: aborting due to 5 previous errors 34 35For more information about this error, try `rustc --explain E0063`.