rust/tests/rustdoc-js/reexport-dedup.rs

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

13 lines
243 B
Rust
Raw Normal View History

// This test enforces that the (renamed) reexports are present in the search results.
2024-06-03 02:35:56 -05:00
#![crate_name = "foo"]
pub mod fmt {
pub struct Subscriber;
}
mod foo {
pub struct AnotherOne;
}
pub use fmt::Subscriber;
2024-06-03 02:35:56 -05:00
pub use foo::AnotherOne;