Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed at 'assertion failed: prev >= 0', /Users/kevin/Dev/rust/rust/src/libstd/comm/stream.rs:355 #12226

Closed
lilyball opened this issue Feb 13, 2014 · 0 comments
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@lilyball
Copy link
Contributor

I hit an assertion failure today:

failed at 'assertion failed: prev >= 0', /Users/kevin/Dev/rust/rust/src/libstd/comm/stream.rs:355

I believe what happened was I closed a Chan while the Port was being selected on.

@alexcrichton says he knows what's going on already.

@huonw huonw added the I-ICE label Feb 13, 2014
alexcrichton added a commit to alexcrichton/rust that referenced this issue Feb 13, 2014
It asserted that the previous count was always nonnegative, but DISCONNECTED is
a valid value for it to see. In order to continue to remember to store
DISCONNECTED after DISCONNECTED was seen, I also added a helper method.

Closes rust-lang#12226
bors added a commit to rust-lang-ci/rust that referenced this issue Jul 25, 2022
feat: Allow reborrow inlay hints to be restricted to mutable reborrows only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants