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