]> git.lizzy.rs Git - rust.git/commit
Auto merge of #31212 - jseyfried:fix_ICE_in_resolve, r=nrc
authorbors <bors@rust-lang.org>
Fri, 29 Jan 2016 13:45:03 +0000 (13:45 +0000)
committerbors <bors@rust-lang.org>
Fri, 29 Jan 2016 13:45:03 +0000 (13:45 +0000)
commitebe92e55f7113c5e444c7b68802d296862cc51ef
tree80a0224f4bcb49e344a467ec06b06fbacfc4c799
parentf030d1fba198e00d981de9e1cefe596e263aa880
parentd2d2144656fadfae2909a6e7995a9c519b41d646
Auto merge of #31212 - jseyfried:fix_ICE_in_resolve, r=nrc

This fixes an ICE introduced by #31065 that occurs when a path cannot be resolved because of a certain class of unresolved import (`Indeterminate` imports).
For example, this currently causes an ICE:
```rust
mod foo { pub use self::*; }
fn main() { foo::f() }
```

r? @nrc
src/librustc_resolve/lib.rs