summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/issue-53689.rs
blob: 832140e061b51cefa6fb126fa30fa3ac7a31714e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// aux-build:issue-53689.rs

#![crate_name = "foo"]

extern crate issue_53689;

// @has foo/trait.MyTrait.html
// @!hasraw - 'MyStruct'
// @count - '//*[h3="impl<T> MyTrait for T"]' 1
pub trait MyTrait {}

impl<T> MyTrait for T {}

mod a {
    pub use issue_53689::MyStruct;
}