15 lines
316 B
Rust
15 lines
316 B
Rust
// compile-flags: --document-hidden-items
|
|
|
|
#![feature(no_core)]
|
|
#![no_core]
|
|
|
|
// @has "$.index[*][?(@.name == 'HiddenPubStruct')]"
|
|
// @has "$.index[*][?(@.inner.impl)]"
|
|
// @has "$.index[*][?(@.name=='PubTrait')]"
|
|
pub trait PubTrait {}
|
|
|
|
#[doc(hidden)]
|
|
pub struct HiddenPubStruct;
|
|
|
|
impl PubTrait for HiddenPubStruct {}
|