summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/deduplicate-glob-import-impl-21474.rs
blob: 2a675b4b6ef54e2b46b49eb29a5b70673e70d16f (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;