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

14 lines
315 B
Rust

// Regression test for <https://github.com/rust-lang/rust/issues/106379>
mod repeat_n {
#[doc(hidden)]
/// not here
pub struct RepeatN {}
}
/// not here
pub use repeat_n::RepeatN;
//@ count "$.index[*][?(@.name=='pub_use_doc_hidden')].inner.items[*]" 0
//@ !has "$.index[*][?(@.docs == 'not here')]"