Closed
Description
This is a nightly regression, doesn't happen in 1.9 stable.
fn main () {
enum Enum {}
if let Enum::Bar{} = unimplemented!() {}
}
error: internal compiler error: ../src/librustc/hir/def.rs:77: path not fully resolved: PathResolution { base_def: Enum(DefId { krate: 0, node: DefIndex(5) => main::Enum }), depth: 1 }
Locally tested with rustc 1.11.0-nightly (ad7fe6521 2016-06-23)
Metadata
Metadata
Assignees
Labels
No labels