about summary refs log tree commit diff
path: root/tests/rustdoc/remove-duplicates.rs
blob: 1e5bf9b01981e54faaf78c107c16196d3d5bd777 (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::*;