]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/hidden-impls.rs
Rollup merge of #107819 - clubby789:x-py-root, r=jyn514
[rust.git] / tests / rustdoc / hidden-impls.rs
1 #![crate_name = "foo"]
2
3 mod hidden {
4     #[derive(Clone)]
5     pub struct Foo;
6 }
7
8 #[doc(hidden)]
9 pub mod __hidden {
10     pub use hidden::Foo;
11 }
12
13 // @has foo/trait.Clone.html
14 // @!hasraw - 'Foo'
15 // @has implementors/core/clone/trait.Clone.js
16 // @!hasraw - 'Foo'
17 pub use std::clone::Clone;