Rollup merge of #117751 - aDotInTheVoid:unkind, r=GuillaumeGomez · rust-lang/rust@186a3c8 (original) (raw)
File tree
1 file changed
lines changed
- tests/rustdoc-json/reexport
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -2,11 +2,12 @@ | ||
2 | 2 | |
3 | 3 | mod repeat_n { |
4 | 4 | #[doc(hidden)] |
5 | +/// not here | |
5 | 6 | pub struct RepeatN {} |
6 | 7 | } |
7 | 8 | |
9 | +/// not here | |
8 | 10 | pub use repeat_n::RepeatN; |
9 | 11 | |
10 | 12 | // @count "$.index[*][?(@.name=='pub_use_doc_hidden')].inner.items[*]" 0 |
11 | -// @!has "$.index[*][?(@.kind=='struct')]" | |
12 | -// @!has "$.index[*][?(@.kind=='import')]" | |
13 | +// @!has "$.index[*][?(@.docs == 'not here')]" |