Skip to content

Instantly share code, notes, and snippets.

@thehydroimpulse
Last active August 29, 2015 14:02
Show Gist options
  • Save thehydroimpulse/f68257e7fd8cdf353e88 to your computer and use it in GitHub Desktop.
Save thehydroimpulse/f68257e7fd8cdf353e88 to your computer and use it in GitHub Desktop.
rustc --debuginfo=2 des.rs
error: internal compiler error: Type metadata for unique id '{&{&[]{struct 7edd98819e2e66bc/2157e}}}' is already in the TypeMap!
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'Box<Any>', /Users/rustbuild/src/rust-buildbot/slave/nightly-mac/build/src/libsyntax/diagnostic.rs:162
pub struct Foo {
i: int
}
fn main() {
let a = Foo { i: 5 };
println!("{}", a.i);
}
rustc 0.11.0-pre-nightly (6d8342f 2014-06-14 17:51:49 +0000)
host: x86_64-apple-darwin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment