2018-08-08 07:28:26 -05:00
|
|
|
error: private struct constructors are not usable through re-exports in outer modules
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/legacy-ctor-visibility.rs:13:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | S(10);
|
|
|
|
| ^
|
|
|
|
|
|
2019-07-16 15:17:38 -05:00
|
|
|
= note: `#[deny(legacy_constructor_visibility)]` on by default
|
2018-08-08 07:28:26 -05:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #39207 <https://github.com/rust-lang/rust/issues/39207>
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|