mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
22 lines
290 B
Rust
22 lines
290 B
Rust
//@ check-pass
|
|
|
|
mod b {
|
|
pub mod http {
|
|
pub struct HeaderMap;
|
|
}
|
|
|
|
pub(crate) use self::http::*;
|
|
#[derive(Debug)]
|
|
pub struct HeaderMap;
|
|
}
|
|
|
|
mod a {
|
|
pub use crate::b::*;
|
|
|
|
fn check_type() {
|
|
let _: HeaderMap = crate::b::HeaderMap;
|
|
}
|
|
}
|
|
|
|
fn main() {}
|