Closed
Description
Given this code:
extern mod std;
fn main() {
let x = std::map::HashMap();
x.insert((@"abc", 0), 0);
}
rustc produces:
rustc: /home/gareth/projects/rust/src/llvm/lib/VMCore/Instructions.cpp:1062: void llvm::StoreInst::AssertOK(): Assertion `getOperand(0)->getType() == cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a pointer to Val type!"' failed.
Aborted (core dumped)