rust/src/test/rustdoc/inline_local/hidden-use.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
180 B
Rust
Raw Normal View History

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