]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/union-field-privacy-2.stderr
Auto merge of #76171 - estebank:turbofish-the-revenge, r=davidtwco
[rust.git] / src / test / ui / privacy / union-field-privacy-2.stderr
1 error[E0616]: field `c` of union `U` is private
2   --> $DIR/union-field-privacy-2.rs:14:15
3    |
4 LL |     let c = u.c;
5    |               ^ private field
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0616`.