]> git.proxmox.com Git - rustc.git/blame - src/test/ui/typeck/missing-private-fields-in-struct-literal.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / typeck / missing-private-fields-in-struct-literal.stderr
CommitLineData
923072b8
FG
1error: cannot construct `S` with struct literal syntax due to private fields
2 --> $DIR/missing-private-fields-in-struct-literal.rs:13:13
3 |
4LL | let _ = m::S {
5 | ^^^^
6LL | visible: true,
7LL | a: (),
8 | ----- private field
9LL | b: (),
10 | ----- private field
11 |
12 = note: ... and other private fields `c`, `d` and `e` that were not provided
13
14error: aborting due to previous error
15