rust/tests/ui/privacy/auxiliary/issue-92755.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
214 B
Rust
Raw Normal View History

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!();
}