1 error[E0446]: private type `src::Zst` in public interface
2 --> $DIR/should_accept_if_src_has_unreachable_field.rs:23:9
4 LL | #[repr(C)] pub(self) struct Zst; // <- unreachable type
5 | -------------------- `src::Zst` declared as private
7 LL | pub(in super) field: Zst,
8 | ^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0446`.