rust/tests/rustdoc-json/reexport/reexport_of_hidden.rs
2024-07-19 16:54:42 +02:00

11 lines
253 B
Rust

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