2016-01-26 09:12:23 +00: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() {
|
2024-05-21 19:12:05 +00:00
|
|
|
foo::f(); // cannot find function `f` in module `foo`, but silenced
|
2016-01-26 09:12:23 +00:00
|
|
|
}
|