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