summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/inline_local/hidden-use.rs
blob: de512fb26e6eff7d43b6282448aff2665480f3e6 (plain)
1
2
3
4
5
6
7
8
9
10
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;