rust/tests/ui/privacy/private-struct-field.stderr

10 lines
293 B
Plaintext

error[E0616]: field `meows` of struct `Cat` is private
--> $DIR/private-struct-field.rs:13:21
|
LL | assert_eq!(nyan.meows, 52);
| ^^^^^ private field
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0616`.