Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
18 lines
420 B
Rust
18 lines
420 B
Rust
pub trait ThisTrait {}
|
|
|
|
mod asdf {
|
|
use ThisTrait;
|
|
|
|
pub struct SomeStruct;
|
|
|
|
impl ThisTrait for SomeStruct {}
|
|
|
|
trait PrivateTrait {}
|
|
|
|
impl PrivateTrait for SomeStruct {}
|
|
}
|
|
|
|
// @has trait_vis/struct.SomeStruct.html
|
|
// @has - '//h3[@class="code-header in-band"]' 'impl ThisTrait for SomeStruct'
|
|
// @!has - '//h3[@class="code-header in-band"]' 'impl PrivateTrait for SomeStruct'
|
|
pub use asdf::SomeStruct;
|