]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-struct-field.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / privacy / private-struct-field.stderr
1 error[E0616]: field `meows` of struct `cat::Cat` is private
2   --> $DIR/private-struct-field.rs:13:16
3    |
4 LL |     assert_eq!(nyan.meows, 52);    //~ ERROR field `meows` of struct `cat::Cat` is private
5    |                ^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0616`.