summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-json/reexport/pub_use_doc_hidden.rs
blob: a2a25d08448a3ef78818c83d3e001e00753b2c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Regression test for <https://github.com/rust-lang/rust/issues/106379>

#![feature(no_core)]
#![no_core]

mod repeat_n {
    #[doc(hidden)]
    pub struct RepeatN {}
}

pub use repeat_n::RepeatN;

// @count "$.index[*][?(@.name=='pub_use_doc_hidden')].inner.items[*]" 0
// @!has "$.index[*][?(@.kind=='struct')]"
// @!has "$.index[*][?(@.kind=='import')]"