about summary refs log tree commit diff
path: root/tests/rustdoc/impl/deduplicate-glob-import-impl-21474.rs
blob: 5812d4149973ec90445f6587b11a2584d1c4d486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// https://github.com/rust-lang/rust/issues/21474
#![crate_name="issue_21474"]

pub use inner::*;

mod inner {
    impl super::Blah for super::What { }
}

pub trait Blah { }

//@ count issue_21474/struct.What.html \
//        '//*[@id="trait-implementations-list"]//*[@class="impl"]' 1
pub struct What;