summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/import-after-macro-expand-10.rs
blob: b3520c42dfc57b45c322cd50e544ba24b4a2269a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// check-pass

mod b {
    pub mod http {
        pub struct HeaderMap;
    }

    pub use self::http::*;
    #[derive(Debug)]
    pub struct HeaderMap;
}

use crate::b::*;

fn main() {
    let h: crate::b::HeaderMap = HeaderMap;
}