]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-32119.rs
Auto merge of #106853 - TimNN:undo-remap, r=oli-obk
[rust.git] / tests / ui / imports / issue-32119.rs
1 // check-pass
2
3 pub type T = ();
4 mod foo { pub use super::T; }
5 mod bar { pub use super::T; }
6
7 pub use foo::*;
8 pub use bar::*;
9
10 mod baz {
11     pub type T = ();
12     mod foo { pub use super::T as S; }
13     mod bar { pub use super::foo::S as T; }
14     pub use self::bar::*;
15 }
16
17 fn main() {}