Closed
Description
The following program fails to compile with a cryptic internal compiler error:
use std;
import std::deque;
import std::deque::t;
fn main() {
let Q = deque::create();
Q.add_back(10);
}
The error is...
host-7-93:bench eholk$ RUST_LOG=rustc=0,::rt::backtrace rustc test.rs
rust: upcall fail 'lookup_item: id not found: 11740', /Users/eholk/Documents/projects/mozilla/rust/src/rustc/metadata/decoder.rs:93
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: upcall fail 'explicit failure', /Users/eholk/Documents/projects/mozilla/rust/src/rustc/driver/rustc.rs:249
rust: domain main @0x7fb949800010 root task failed
rust: upcall fail 'killed', /Users/eholk/Documents/projects/mozilla/rust/src/libcore/task.rs:454