rust/tests/ui/blind/blind-item-item-shadow.rs

8 lines
137 B
Rust

mod foo { pub mod foo { } }
use foo::foo;
//~^ ERROR the name `foo` is defined multiple times
//~| `foo` reimported here
fn main() {}