-
Notifications
You must be signed in to change notification settings - Fork 1.7k
panicked at 'index out of bounds: the len is 0 but the index is 0' from chalk code #10390
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
Comments
I'm getting something similar pretty often too.
|
@tmandry this looks different than the one in #10386 (comment) since the version of your stacktrace is "009e6ceb1 2021-09-27 stable", which was released before #10305 got merged. @cherryleafroad your error doesn't happen in chalk, but during name resolution. It may be #10084 instead. |
Yeah, I thought this was due to a recent change but actually it occurs in the last 3 stable releases. I'm not sure why I was hitting it yesterday but not last week. I'll post more information if I hit it again. |
Got the same issue even with the latest stable / nightly (2022-03-08 / 2022-03-09-nightly) It seems like due to the const generic order on the fn: changing from |
I see a similar panic in rustdoc.
|
I can't reproduce the original error, |
Anytime I try to use rust-analyzer on the rustc codebase now, I get:
It keeps panicking over and over so hopefully shouldn't be hard to reproduce.
Also mentioned in #10386 (comment)
The text was updated successfully, but these errors were encountered: