]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/legacy-ctor-visibility.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / privacy / legacy-ctor-visibility.stderr
1 error[E0423]: expected function, tuple struct or tuple variant, found struct `S`
2   --> $DIR/legacy-ctor-visibility.rs:9:13
3    |
4 LL |             S(10);
5    |             ^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0423`.