2018-11-05 04:00:03 +00:00
|
|
|
// aux-build:issue-45829-b.rs
|
2018-10-16 08:22:32 +02:00
|
|
|
|
2018-10-17 01:09:43 +02:00
|
|
|
mod foo {
|
|
|
|
pub mod bar {}
|
|
|
|
}
|
|
|
|
|
|
|
|
use foo::bar;
|
|
|
|
extern crate issue_45829_b as bar;
|
2018-11-27 10:56:36 +01:00
|
|
|
//~^ ERROR the name `bar` is defined multiple times
|
2018-10-16 08:22:32 +02:00
|
|
|
|
|
|
|
fn main() {}
|