summaryrefslogtreecommitdiffstats
path: root/src/test/ui/imports/issue-32119.rs
blob: 36adb5289aca5d228addf594cdb3e0292a87e8bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// check-pass

pub type T = ();
mod foo { pub use super::T; }
mod bar { pub use super::T; }

pub use foo::*;
pub use bar::*;

mod baz {
    pub type T = ();
    mod foo { pub use super::T as S; }
    mod bar { pub use super::foo::S as T; }
    pub use self::bar::*;
}

fn main() {}