rust/tests/rustdoc-json/reexport/pub_use_doc_hidden.rs
Alona Enraght-Moony 7ab71c417b tests/rustdoc-json: replace $.index[*][? with $.index[?
Done automatically with VSCode.
2025-03-21 00:48:09 +00:00

13 lines
309 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')]"