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

10 lines
291 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 previous error
For more information about this error, try `rustc --explain E0616`.