error[E0611]: field `0` of tuple-struct `a::Foo` is private --> $DIR/E0611.rs:21:4 | LL | y.0; //~ ERROR E0611 | ^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0611`.