]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/union-field-privacy-2.stderr
Merge commit '91496c2ac6abf6454c413bb23e8becf6b6dc20ea' into clippyup
[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`.