mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00
10 lines
178 B
Rust
10 lines
178 B
Rust
//@ dont-require-annotations: NOTE
|
|
|
|
mod foo { pub mod foo { } }
|
|
|
|
use foo::foo;
|
|
//~^ ERROR the name `foo` is defined multiple times
|
|
//~| NOTE `foo` reimported here
|
|
|
|
fn main() {}
|