mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
21 lines
239 B
Rust
21 lines
239 B
Rust
//@ 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() {}
|