mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-10 03:05:11 +00:00
19 lines
365 B
Rust
19 lines
365 B
Rust
// This test enforces that the (renamed) reexports are present in the search results.
|
|
#![crate_name = "foo"]
|
|
|
|
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;
|
|
pub use foo::AnotherOne;
|