rust/tests/rustdoc-js/reexport.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
237 B
Rust
Raw Normal View History

// 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;