about summary refs log tree commit diff
path: root/tests/rustdoc-json/reexport/pub_use_doc_hidden.rs
blob: 129ccb7e2ebe57c2cf94949f86ea4a062fac38fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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')]"