blob: e32566b129e52a13f1edd03d180fe7c709730720 [file] [log] [blame] [edit]
//@ edition:2015
//! Regression test for https://github.com/rust-lang/rust/issues/14082
//@ check-pass
#![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() {}