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() {}