about summary refs log tree commit diff
path: root/tests/ui/issues/issue-14082.rs
blob: 116002415dfa633100850c4bc916831b732e08bc (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() {}