summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-31212.rs
blob: 556f0d18f9f22727cbfe95441d02c8bdc9f69764 (plain)
1
2
3
4
5
6
7
8
9
10
// 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`
}