summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/hidden-impls.rs
blob: 8f33a6604c2195d317c696f806e6802ab0b7c34d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![crate_name = "foo"]

mod hidden {
    #[derive(Clone)]
    pub struct Foo;
}

#[doc(hidden)]
pub mod __hidden {
    pub use hidden::Foo;
}

// @has foo/trait.Clone.html
// @!has - 'Foo'
// @has implementors/core/clone/trait.Clone.js
// @!has - 'Foo'
pub use std::clone::Clone;