Closed
Description
import io::{println};
import vec;
fn main(args: [str]) {
let mut args = args;
let binary: str = vec::shift(args);
println(binary);
}
fails to compile with the error:
evan@bodine:~/src/rustbugs/ebml$ RUST_LOG=rustc=1,::rt::backtrace rustc ebml.rs
rust: upcall fail 'Expected label id but found node', src/libstd/ebml.rs:380
error: internal compiler error unexpected failure
note: The compiler hit an unexpected failure path. This is a bug. 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', src/rustc/driver/rustc.rs:182
rust: domain main @0x102829600 root task failed
This seems to be the minimal repro case. I haven't been able to work around it, so not entirely sure what's happening.
OS X 10.6, intel core2duo, branch master at commit 0904f25