mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
11 lines
249 B
Rust
11 lines
249 B
Rust
// 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() {
|
|
foo::f(); //~ ERROR cannot find function `f` in module `foo`
|
|
}
|