-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Panic in pattern analysis #16774
Comments
Sounds like #16746! A fix is on its way :) |
Sorry, I looked at that issue and thought that "Fix in about a week" meant that the fix was already in RA, but it's not released as a stable RA version (and because I used the latest RA commit, that meant that I should have that fix already). I guess this means that it will be fixed when RA is next synced with rustc? In the meantime, I may use a local build with a git-dep on Thanks for the reply and all your work on the pattern checking! |
"Fixed on the rustc side" means it's in a crate in the rustc repo. That crate gets published on Sunday, but we currently upgrade it manually. |
If you try the manual dep on |
That will require updating |
Could we actually trigger an early auto-publish? Lotsa people seem to be hitting this. Idk what the policy is |
I just did, but the change to |
Thank you! The |
Update `rustc_pattern_analysis` to 0.42.0 There was an important API change in 0.41.0, and (hopefully) a fix for #16774 in 0.42.0.
rust-analyzer version:
rust-analyzer 0.0.0 (ce15e73a8e 2024-03-06)
(latest commit)rustc version:
rustc 1.76.0 (07dca489a 2024-02-04)
The panic happens inside
ra_ap_rustc_pattern_analysis
, callingrow.head()
on an empty row.CC @Nadrieril
Backtrace
Unfortunately, I don't have a public or small reproducer 😞
The text was updated successfully, but these errors were encountered: