summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/remove-duplicates.rs
blob: 759bf84db62112ecf1044bcfce95d56ca5fd5e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![crate_name = "foo"]

mod foo {
    pub use bar::*;
    pub mod bar {
        pub trait Foo {
            fn foo();
        }
    }
}

// @count foo/index.html '//*[@class="trait"]' 1
pub use foo::bar::*;
pub use foo::*;