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