2016-08-22 13:57:10 +08:00
|
|
|
use self::*; //~ ERROR: unresolved import `self::*` [E0432]
|
2019-01-16 15:30:41 -05:00
|
|
|
//~^ cannot glob-import a module into itself
|
2015-08-07 12:00:46 +02:00
|
|
|
|
|
|
|
mod foo {
|
2016-08-22 13:57:10 +08:00
|
|
|
use foo::*; //~ ERROR: unresolved import `foo::*` [E0432]
|
2019-01-16 15:30:41 -05:00
|
|
|
//~^ cannot glob-import a module into itself
|
2015-08-07 12:00:46 +02:00
|
|
|
|
|
|
|
mod bar {
|
|
|
|
use super::bar::*;
|
2016-08-22 13:57:10 +08:00
|
|
|
//~^ ERROR: unresolved import `super::bar::*` [E0432]
|
2019-01-16 15:30:41 -05:00
|
|
|
//~| cannot glob-import a module into itself
|
2015-08-07 12:00:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2014-05-20 21:00:56 -07:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|