Closed
Description
I've pushed the failing code: https://github.com/dpc/mioco/tree/fails-to-compile . Last commit caused:
[futex:rust/mioco] (fails-to-compile!)% rustc --version
rustc 1.5.0-nightly (47d125d0f 2015-09-16)
[futex:rust/mioco] (fails-to-compile!)% cargo build --release --example echo
Compiling mioco v0.2.0-pre1 (file:///home/dpc/lab/rust/mioco)
rustc: /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp:713: llv
m::DIE* llvm::DwarfUnit::getOrCreateTypeDIE(const llvm::MDNode*): Assertion `Ty == resolve(Ty->getRef()) && "type was not uniqued, p
ossible ODR violation."' failed.
Could not compile `mioco`.
To learn more, run the command again with --verbose.