mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
12 lines
283 B
Rust
12 lines
283 B
Rust
//@ compile-flags: --document-hidden-items
|
|
|
|
//@ has "$.index[*][?(@.name == 'HiddenPubStruct')]"
|
|
//@ has "$.index[*][?(@.inner.impl)]"
|
|
//@ has "$.index[*][?(@.name=='PubTrait')]"
|
|
pub trait PubTrait {}
|
|
|
|
#[doc(hidden)]
|
|
pub struct HiddenPubStruct;
|
|
|
|
impl PubTrait for HiddenPubStruct {}
|