summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/issue-75062-fieldless-tuple-struct.stderr
blob: 14a12003e2de8253a4228df7757777482f1b0332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0603]: tuple struct `Bar` is private
  --> $DIR/issue-75062-fieldless-tuple-struct.rs:9:10
   |
LL |     foo::Bar();
   |          ^^^ private tuple struct
   |
note: the tuple struct `Bar` is defined here
  --> $DIR/issue-75062-fieldless-tuple-struct.rs:5:5
   |
LL |     struct Bar();
   |     ^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0603`.