2023-11-07 16:56:03 +00:00
|
|
|
// @has "$.index[*][?(@.docs=='Here')]"
|
|
|
|
// @!has "$.index[*][?(@.docs=='Not Here')]"
|
2023-07-14 16:45:41 +02:00
|
|
|
// @!has "$.index[*][?(@.name == 'HiddenPubStruct')]"
|
2023-07-17 23:36:33 +02:00
|
|
|
// @has "$.index[*][?(@.name == 'NotHiddenPubStruct')]"
|
2023-07-14 16:45:41 +02:00
|
|
|
// @has "$.index[*][?(@.name=='PubTrait')]"
|
|
|
|
pub trait PubTrait {}
|
|
|
|
|
|
|
|
#[doc(hidden)]
|
|
|
|
pub struct HiddenPubStruct;
|
2023-07-17 23:36:33 +02:00
|
|
|
pub struct NotHiddenPubStruct;
|
2023-07-14 16:45:41 +02:00
|
|
|
|
2023-11-07 16:56:03 +00:00
|
|
|
/// Not Here
|
2023-07-14 16:45:41 +02:00
|
|
|
impl PubTrait for HiddenPubStruct {}
|
2023-11-07 16:56:03 +00:00
|
|
|
/// Here
|
2023-07-17 23:36:33 +02:00
|
|
|
impl PubTrait for NotHiddenPubStruct {}
|