rust/tests/rustdoc-json/impls/pub_for_hidden_private.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
208 B
Rust
Raw Normal View History

2024-08-08 11:55:52 -05:00
//@ 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 {}