rust/tests/rustdoc-json/impls/pub_for_hidden_private.rs
Alona Enraght-Moony 7ab71c417b tests/rustdoc-json: replace $.index[*][? with $.index[?
Done automatically with VSCode.
2025-03-21 00:48:09 +00:00

10 lines
205 B
Rust

//@ compile-flags: --document-private-items --document-hidden-items
pub trait TheTrait {}
#[doc(hidden)]
struct Value {}
//@ has '$.index[?(@.docs=="THE IMPL")]'
/// THE IMPL
impl TheTrait for Value {}