rust/tests/rustdoc/hidden-impls.rs

18 lines
286 B
Rust
Raw Normal View History

#![crate_name = "foo"]
mod hidden {
#[derive(Clone)]
pub struct Foo;
}
#[doc(hidden)]
pub mod __hidden {
pub use hidden::Foo;
}
// @has foo/trait.Clone.html
2022-08-11 23:44:07 -05:00
// @!hasraw - 'Foo'
// @has implementors/core/clone/trait.Clone.js
2022-08-11 23:44:07 -05:00
// @!hasraw - 'Foo'
pub use std::clone::Clone;