]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-json/reexport/pub_use_doc_hidden.rs
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / rustdoc-json / reexport / pub_use_doc_hidden.rs
1 // Regression test for <https://github.com/rust-lang/rust/issues/106379>
2
3 #![feature(no_core)]
4 #![no_core]
5
6 mod repeat_n {
7     #[doc(hidden)]
8     pub struct RepeatN {}
9 }
10
11 pub use repeat_n::RepeatN;
12
13 // @count "$.index[*][?(@.name=='pub_use_doc_hidden')].inner.items[*]" 0
14 // @!has "$.index[*][?(@.kind=='struct')]"
15 // @!has "$.index[*][?(@.kind=='import')]"