-
Notifications
You must be signed in to change notification settings - Fork 1.7k
RA panics with file #15298
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 managed to reduce this pretty significantly by trial and error, I’ll upload the new file as soon as I can |
#15248 may have fixed this. Can you try the latest release (2023-07-17, v0.3.1591) and see if the panic persists? |
will do! |
Closing this as fixed! Latest Rust-Analyzer no longer panics with my file. Thanks! |
Closing for real 😀. |
I'm getting a similar looking stack trace in 1.72.0 (5680fa1 2023-08-23) |
removing |
The attached main.txt, pasted into main.rs in a default
cargo new --bin
project causes RA to panic (tested with VSCodium on mac and VS Code on windows). I apologize in advance for the ugly code :)(these are the versions that I tested on Mac. I don't know the exact version my friend (who tested on windows) was using, but it's likely fairly recent))
rust-analyzer version: rust-analyzer version: 0.3.1583-standalone (ff15634 2023-07-09)
rustc version: rustc 1.70.0 (90c541806 2023-05-31)
example:
main.txt
more minimized example:
main.txt
panic backtrace
The text was updated successfully, but these errors were encountered: