rust/tests/rustdoc-json/reexport/reexport_of_hidden.rs

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

11 lines
250 B
Rust
Raw Normal View History

//@ compile-flags: --document-hidden-items
//@ has "$.index[*].inner[?(@.use.name=='UsedHidden')]"
//@ has "$.index[*][?(@.name=='Hidden')]"
pub mod submodule {
#[doc(hidden)]
pub struct Hidden {}
}
pub use submodule::Hidden as UsedHidden;