rust/src/test/ui/issues/issue-14082.rs
2019-07-03 06:30:28 +09:00

21 lines
274 B
Rust

// build-pass (FIXME(62277): could be 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() {}