]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/legacy-ctor-visibility.stderr
update ui tests
[rust.git] / src / test / ui / privacy / legacy-ctor-visibility.stderr
1 error: private struct constructors are not usable through re-exports in outer modules
2   --> $DIR/legacy-ctor-visibility.rs:13:13
3    |
4 LL |             S(10);
5    |             ^
6    |
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>
10
11 error: aborting due to previous error
12