about summary refs log tree commit diff
path: root/tests/rustdoc/impl/impl-blanket-53689.rs
blob: 4b1697349f255f15f36a76e66b3250773ab0f0a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// https://github.com/rust-lang/rust/issues/53689
//@ 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;
}