mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
22 lines
311 B
Rust
22 lines
311 B
Rust
// check-pass
|
|
// a compared case for `import-after-macro-expand-6.rs`
|
|
|
|
pub mod a {
|
|
pub use crate::b::*;
|
|
}
|
|
|
|
mod b {
|
|
mod http {
|
|
pub struct HeaderMap;
|
|
}
|
|
|
|
pub use self::http::*;
|
|
pub struct HeaderMap;
|
|
}
|
|
|
|
use crate::a::HeaderMap;
|
|
|
|
fn main() {
|
|
let h: crate::b::HeaderMap = HeaderMap;
|
|
}
|