2017-12-10 14:29:24 -06:00
|
|
|
mod foo { pub mod foo { } }
|
2015-01-01 18:13:57 -06:00
|
|
|
|
2016-05-12 18:39:09 -05:00
|
|
|
use foo::foo;
|
2017-05-17 22:29:58 -05:00
|
|
|
//~^ ERROR the name `foo` is defined multiple times
|
|
|
|
//~| `foo` reimported here
|
2015-01-01 18:13:57 -06:00
|
|
|
|
|
|
|
fn main() {}
|