-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
ICE debug_assert!(!erased.needs_infer(), "{:?}", erased);
#105275
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
But with debug assertions (@ debug_assert!(!erased.needs_infer(), "{:?}", erased); Which is terrible because there is no actual ICE text but also more interesting because I don't think I have seen this one before:
|
Pretty sure this is a dupe of #95134 |
Ah, I can see that that the code of #95134 also hits the debug assertion 👍
|
Triage: Closing as duplicate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
So with vanilla rustc
you will get the good ol'
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', /cargo/registry/src/github.com-1ecc6299db9ec823/ena-0.14.0/src/snapshot_vec.rs:199:10
assertion which I have already seen a bunch of times.The text was updated successfully, but these errors were encountered: