]>
Commit | Line | Data |
---|---|---|
d9bb1a4e | 1 | // check-pass |
c34b1796 AL |
2 | // pretty-expanded FIXME #23616 |
3 | ||
1a4d82fc JJ |
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 | |
223e47cc LB |
10 | } |
11 | ||
1a4d82fc JJ |
12 | mod m { |
13 | pub struct Foo; | |
223e47cc LB |
14 | } |
15 | ||
1a4d82fc JJ |
16 | mod d { |
17 | pub struct Foo; | |
223e47cc LB |
18 | } |
19 | ||
20 | fn main() {} |