summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/issue-53689.rs
blob: 52ce4159d823ec85b2fd5b8f9f42a88e2ed6b72b (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
// @!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;
}