]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/issue-31212.rs
Auto merge of #100845 - timvermeulen:iter_compare, r=scottmcm
[rust.git] / src / test / ui / imports / issue-31212.rs
1 // This checks that a path that cannot be resolved because of an indeterminate import
2 // does not trigger an ICE.
3
4 mod foo {
5     pub use self::*; //~ ERROR unresolved
6 }
7
8 fn main() {
9     foo::f(); //~ ERROR cannot find function `f` in module `foo`
10 }