mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
18 lines
286 B
Rust
18 lines
286 B
Rust
#![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;
|