Closed
Description
Receive a very cryptic compiler error with the following code
use core::option::Option;
enum Something {
Value(~str),
Other(int)
}
struct Record {
num: int,
start: Option<RecordValue>
}
struct RecordValue {
value: Something,
next: Option<RecordValue>
}
fn main() {
}
The output:
rust: task 7f8fe2600fc0 ran out of stack
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: task failed at 'explicit failure', /Users/kylejones/src/rust/rust/src/rustc/driver/rustc.rs:241
rust: domain main @0x7f8fe3000010 root task failed
rust: task failed at 'killed', /Users/kylejones/src/rust/rust/src/libcore/task.rs:667
Metadata
Metadata
Assignees
Labels
No labels