Closed

Description
A compiler panic occurs when trying to compile this snippet of code:
mod MyMod{
}
fn main() {
let myVar = MyMod{T:0u64};
}
note: the compiler unexpectedly panicked. 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
thread 'rustc' panicked at 'No def'n found for DefId { krate: 0u32, node: 4u32 } in tcx.tcache', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc/middle/ty.rs:5008
rustc 1.0.0-nightly (f4f10db 2015-01-17 20:31:08 +0000)
binary: rustc
commit-hash: f4f10db
commit-date: 2015-01-17 20:31:08 +0000
host: x86_64-unknown-linux-gnu [Linux Mint Debian Edition]
release: 1.0.0-nightly