about summary refs log tree commit diff
path: root/tests/ui/imports/issue-31212.rs
blob: fe69c5af2706fd85f7cbba768687cc2e2957f5de (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(); // cannot find function `f` in module `foo`, but silenced
}