LL | xcrate::S;
| ^^^^^^^^^ constructor is not visible here due to private fields
|
- = note: this tuple struct exists but is inaccessible:
- m::S
+note: tuple struct `m::S` exists but is inaccessible
+ --> $DIR/privacy-struct-ctor.rs:6:5
+ |
+LL | pub struct S(u8);
+ | ^^^^^^^^^^^^^^^^^ not accessible
error[E0603]: tuple struct constructor `Z` is private
--> $DIR/privacy-struct-ctor.rs:18:12