mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
12 lines
179 B
Rust
12 lines
179 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() {}
|