summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/auxiliary/issue-92755.rs
blob: 6f85273461af5417f12c15dbc5b36a49ccbe3723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod machine {
    pub struct A {
        pub b: B,
    }
    pub struct B {}
    impl B {
        pub fn f(&self) {}
    }
}

pub struct Context {
    pub a: machine::A,
}

pub fn ctx() -> Context {
    todo!();
}