2016-01-26 03:12:23 -06:00
|
|
|
// This checks that a path that cannot be resolved because of an indeterminate import
|
|
|
|
// does not trigger an ICE.
|
|
|
|
|
|
|
|
mod foo {
|
|
|
|
pub use self::*; //~ ERROR unresolved
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2017-01-11 16:18:08 -06:00
|
|
|
foo::f(); //~ ERROR cannot find function `f` in module `foo`
|
2016-01-26 03:12:23 -06:00
|
|
|
}
|