]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-31212.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / 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 }