about summary refs log tree commit diff
path: root/tests/rustdoc-js/reexport-dedup.rs
blob: 83c23d5c3664aa2cb61bac608c47e787dc7edce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// This test enforces that the (renamed) reexports are present in the search results.
#![crate_name = "foo"]

pub mod fmt {
    pub struct Subscriber;
}
mod foo {
    pub struct AnotherOne;
}

pub use fmt::Subscriber;
pub use foo::AnotherOne;