rust/tests/rustdoc/inline_local/hidden-use.rs

11 lines
186 B
Rust

mod private {
pub struct Foo {}
}
//@ has hidden_use/index.html
//@ !hasraw - 'private'
//@ !hasraw - 'Foo'
//@ !has hidden_use/struct.Foo.html
#[doc(hidden)]
pub use private::Foo;