summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/hidden-impls.rs
blob: 26e2e0e0660088ebb7dc3e937c0acff45bb30b8a (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
// @!hasraw - 'Foo'
// @has implementors/core/clone/trait.Clone.js
// @!hasraw - 'Foo'
pub use std::clone::Clone;