]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-14082.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / issues / issue-14082.rs
1 // check-pass
2 // pretty-expanded FIXME #23616
3
4 #![allow(unused_imports, dead_code)]
5
6 use foo::Foo;
7
8 mod foo {
9 pub use m::Foo; // this should shadow d::Foo
10 }
11
12 mod m {
13 pub struct Foo;
14 }
15
16 mod d {
17 pub struct Foo;
18 }
19
20 fn main() {}