]> git.proxmox.com Git - rustc.git/blob - tests/ui/imports/issue-24883.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / imports / issue-24883.rs
1 // check-pass
2
3 mod a {
4 pub mod b { pub struct Foo; }
5
6 pub mod c {
7 use super::b;
8 pub struct Bar(pub b::Foo);
9 }
10
11 pub use self::c::*;
12 }
13
14 fn main() {
15 let _ = a::c::Bar(a::b::Foo);
16 let _ = a::Bar(a::b::Foo);
17 }