Compiler panic when doing something wrong with a module #21449
Labels
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
A compiler panic occurs when trying to compile this snippet of code:
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 backtracethread '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
The text was updated successfully, but these errors were encountered: