rust/tests/ui/privacy/union-field-privacy-2.stderr
2023-01-11 09:32:08 +00:00

10 lines
260 B
Plaintext

error[E0616]: field `c` of union `U` is private
--> $DIR/union-field-privacy-2.rs:14:15
|
LL | let c = u.c;
| ^ private field
error: aborting due to previous error
For more information about this error, try `rustc --explain E0616`.