]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-10545.stderr
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / ui / issues / issue-10545.stderr
1 error[E0603]: struct `S` is private
2   --> $DIR/issue-10545.rs:6:14
3    |
4 LL | fn foo(_: a::S) {
5    |              ^ private struct
6    |
7 note: the struct `S` is defined here
8   --> $DIR/issue-10545.rs:2:5
9    |
10 LL |     struct S;
11    |     ^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0603`.