mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
12 lines
178 B
Rust
12 lines
178 B
Rust
// aux-build:issue-45829-b.rs
|
|
|
|
mod foo {
|
|
pub mod bar {}
|
|
}
|
|
|
|
use foo::bar;
|
|
extern crate issue_45829_b as bar;
|
|
//~^ ERROR the name `bar` is defined multiple times
|
|
|
|
fn main() {}
|