1 2 3 4 5 6 7 8
error[E0616]: field `x` of struct `a::Foo` is private --> $DIR/E0616.rs:23:5 | 23 | f.x; //~ ERROR E0616 | ^^^ error: aborting due to previous error