2024-01-12 15:32:08 -07:00
|
|
|
// This test enforces that the (renamed) reexports are present in the search results.
|
2024-06-03 17:35:56 +10:00
|
|
|
#![crate_name = "foo"]
|
2024-01-12 15:32:08 -07:00
|
|
|
|
|
|
|
pub mod fmt {
|
|
|
|
pub struct Subscriber;
|
|
|
|
impl Subscriber {
|
|
|
|
pub fn dostuff(&self) {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
mod foo {
|
|
|
|
pub struct AnotherOne;
|
|
|
|
impl AnotherOne {
|
|
|
|
pub fn dostuff(&self) {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pub use fmt::Subscriber;
|
2024-06-03 17:35:56 +10:00
|
|
|
pub use foo::AnotherOne;
|