Closed
Description
Updated description
$ echo 'fn main() {}' | rustc - -o foo/bar/baz
error: error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'called `Option::unwrap()` on a `None` value', /Users/acrichton/code/rust2/src/libstd/option.rs:264
That's a pretty awful error to hand out for a common-ish error
Original Issue
rustc failed at 'called
Option::unwrap()
on aNone
value
This is a bug report.
I received the following error when building a set of tests.
error: error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler.
We would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: the compiler hit an unexpected failure path. this is a bug
Ok(task 'rustc' failed at 'called `Option::unwrap()` on a `None` value', /private/tmp/rust-3RkG/src/libstd/option.rs:148
I have, as of yet, not been able to reproduce the error with a single specific piece of code. I will continue to try and update the ticket once I have done so.