blob: deee42c3b84eebd0a2bc38fd00ff6eb013b56658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// check-pass
use crate::b::*;
mod b {
pub mod http {
pub struct HeaderMap;
}
pub use self::http::*;
#[derive(Debug)]
pub struct HeaderMap;
}
fn main() {
let h: crate::b::HeaderMap = HeaderMap;
}
|