rust/tests/rustdoc/intra-doc/cross-crate/auxiliary/hidden.rs

20 lines
317 B
Rust

#![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};
}