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
Receive a very cryptic compiler error with the following code
use core::option::Option;enumSomething{Value(~str),Other(int)}structRecord{num:int,start:Option<RecordValue>}structRecordValue{value:Something,next:Option<RecordValue>}fnmain(){}
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
The text was updated successfully, but these errors were encountered:
You need to change the type of the start and next fields to Option<@RecordValue>. The compiler should be giving you a nicer error message here, but there's already a bug open on it: #3779 .
Testcase fix for epoll
Fixesrust-lang#3811
This PR:
- Fixed the error in ``epoll_ctl_del`` test
- Simplified the logic in ``epoll_ctl_mod`` test
- Added a new test to check if flag that we don't register won't trigger notification (double negation sounds a bit confusing here, feel free to suggest a better one ;) )
- Use assert_eq(0) for epoll_ctl test
Receive a very cryptic compiler error with the following code
The output:
The text was updated successfully, but these errors were encountered: