Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
16 lines
274 B
Rust
16 lines
274 B
Rust
// aux-build:issue-53689.rs
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
extern crate issue_53689;
|
|
|
|
// @has foo/trait.MyTrait.html
|
|
// @!has - 'MyStruct'
|
|
// @count - '//*[h3="impl<T> MyTrait for T"]' 1
|
|
pub trait MyTrait {}
|
|
|
|
impl<T> MyTrait for T {}
|
|
|
|
mod a {
|
|
pub use issue_53689::MyStruct;
|
|
}
|