summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/intra-doc/cross-crate/auxiliary/hidden.rs
blob: 34f4e9f635f8d18e51fcfe115bc432c5b0e8813e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![crate_name = "hidden_dep"]
#![deny(rustdoc::broken_intra_doc_links)]

#[doc(hidden)]
pub mod __reexport {
    pub use crate::*;
}

pub mod future {
    mod ready {

        /// Link to [`ready`](function@ready)
        pub struct Ready;
        pub fn ready() {}

    }
    pub use self::ready::{ready, Ready};

}