1 2 3 4 5 6 7 8 9 10 11
#[derive(Clone)] pub struct Struct; pub mod dep_outer1 { /// [crate::Struct::clone] pub mod inner {} } pub mod dep_outer2 { //! [crate::Struct::clone] }