summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/reexport.rs
blob: d69b2901edd5100e4ec13cb5d704b7ff971415e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// This test enforces that the (renamed) reexports are present in the search results.

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

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