mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
22e1576a12
After #111427, no item has a `kind` field, so these assertions could never fail. Instead, assert that those two items arn't present.
14 lines
315 B
Rust
14 lines
315 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')]"
|