]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/issue-75062-fieldless-tuple-struct.stderr
Auto merge of #75137 - Aaron1011:fix/hygiene-skip-expndata, r=petrochenkov
[rust.git] / src / test / ui / privacy / issue-75062-fieldless-tuple-struct.stderr
1 error[E0603]: tuple struct `Bar` is private
2   --> $DIR/issue-75062-fieldless-tuple-struct.rs:9:10
3    |
4 LL |     foo::Bar();
5    |          ^^^ private tuple struct
6    |
7 note: the tuple struct `Bar` is defined here
8   --> $DIR/issue-75062-fieldless-tuple-struct.rs:5:5
9    |
10 LL |     struct Bar();
11    |     ^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0603`.