summaryrefslogtreecommitdiffstats
path: root/src/test/ui/privacy/private-struct-field.stderr
blob: facf4e82fd622d94b4a4bffaec1becad95a1b42d (plain)
1
2
3
4
5
6
7
8
9
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`.