rust/tests/ui/blind/blind-item-item-shadow.rs
2023-01-11 09:32:08 +00:00

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