pub mod A { pub struct Foo; impl Foo { fn foo(&self) { } } }