]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-31212.rs
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / 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 }