summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-14082.rs
blob: 52b8c86802f0687f5ef9339f22f1e1c7833b92f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// check-pass
// pretty-expanded FIXME #23616

#![allow(unused_imports, dead_code)]

use foo::Foo;

mod foo {
    pub use m::Foo; // this should shadow d::Foo
}

mod m {
    pub struct Foo;
}

mod d {
    pub struct Foo;
}

fn main() {}