]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/auxiliary/issue-92755.rs
Rollup merge of #92795 - jsha:link-to-top, r=GuillaumeGomez
[rust.git] / src / test / ui / privacy / auxiliary / issue-92755.rs
1 mod machine {
2     pub struct A {
3         pub b: B,
4     }
5     pub struct B {}
6     impl B {
7         pub fn f(&self) {}
8     }
9 }
10
11 pub struct Context {
12     pub a: machine::A,
13 }
14
15 pub fn ctx() -> Context {
16     todo!();
17 }