mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
16 lines
436 B
Rust
16 lines
436 B
Rust
//@ has "$.index[*][?(@.docs=='Here')]"
|
|
//@ !has "$.index[*][?(@.docs=='Not Here')]"
|
|
//@ !has "$.index[*][?(@.name == 'HiddenPubStruct')]"
|
|
//@ has "$.index[*][?(@.name == 'NotHiddenPubStruct')]"
|
|
//@ has "$.index[*][?(@.name=='PubTrait')]"
|
|
pub trait PubTrait {}
|
|
|
|
#[doc(hidden)]
|
|
pub struct HiddenPubStruct;
|
|
pub struct NotHiddenPubStruct;
|
|
|
|
/// Not Here
|
|
impl PubTrait for HiddenPubStruct {}
|
|
/// Here
|
|
impl PubTrait for NotHiddenPubStruct {}
|