You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use std::hashmap::HashMap;
fn main() {
let mut env: HashMap<&'self str, &'self str> = HashMap::new();
}
with $ RUST_LOG=rustc=1 rust build test.rs gives
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=1 to get further details and report the results to github.com/mozilla/rust/issues
task <unnamed> failed at 'explicit failure', /Users/nwin/rust-0.8/src/librustc/rustc.rs:391
The text was updated successfully, but these errors were encountered:
With my (debug) build of rustc, I get a bit more info from the RUST_LOG=rustc=1 setting:
task '<unnamed>' failed at 'assertion failed: rp.is_none()', /Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/typeck/collect.rs:1108
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=1 to get further details and report the results to github.com/mozilla/rust/issues
task '<unnamed>' failed at 'explicit failure', /Users/fklock/Dev/Mozilla/rust.git/src/librustc/rustc.rs:391
I was just playing around.
Compiling
with
$ RUST_LOG=rustc=1 rust build test.rs
givesThe text was updated successfully, but these errors were encountered: