1 error: private struct constructors are not usable through re-exports in outer modules
2 --> $DIR/legacy-ctor-visibility.rs:13:13
7 = note: `#[deny(legacy_constructor_visibility)]` on by default
8 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9 = note: for more information, see issue #39207 <https://github.com/rust-lang/rust/issues/39207>
11 error: aborting due to previous error