20 lines
384 B
Rust
20 lines
384 B
Rust
#![no_std]
|
|
|
|
// Without `--document-hidden-items`,
|
|
// none of these items are present in rustdoc JSON.
|
|
|
|
//@ !has "$.index[?(@.name=='func')]"
|
|
#[doc(hidden)]
|
|
pub fn func() {}
|
|
|
|
//@ !has "$.index[?(@.name=='Unit')]"
|
|
#[doc(hidden)]
|
|
pub struct Unit;
|
|
|
|
//@ !has "$.index[?(@.name=='hidden')]"
|
|
#[doc(hidden)]
|
|
pub mod hidden {
|
|
//@ !has "$.index[?(@.name=='Inner')]"
|
|
pub struct Inner;
|
|
}
|