rust/tests/rustdoc/remove-duplicates.rs

15 lines
223 B
Rust

#![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::*;