-
Notifications
You must be signed in to change notification settings - Fork 1.7k
rust-analyzer hangs when using crate proptest #7987
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
Related? #7953 |
@jhpratt: Maybe. It sounds similar. In my case indexing often works fine. I.e. I have a bigger project where I'm also using the |
In OP case, it is because we are not handling some ill-form macro properly, which cased a infinite-loop. #8005 should fix it. |
Hi @edwin0cheng! Can confirm, this seems to be fixed. Just tested with current master (commit af8440b). Thanks a lot! |
I'm using rust-analyzer from within vscode through the
rust-analyzer
extension. I ran into an issue where it hangs when using the crate proptest. Here's a minimal example:https://github.com/soenkehahn/ra-bug
Opening
src/main.rs
in vscode makes the rust-analyzer extension hang. Also, the process~/.config/Code/User/globalStorage/matklad.rust-analyzer/rust-analyzer-x86_64-unknown-linux-gnu
keeps using one cpu afterwards, even when quitting vscode. I have to manually kill it to get rid of it.Here's what I'm using:
ubuntu 20.10
vscode 1.54.2
matklad.rust-analyzer 0.2.513
rust-analyzer d54e115
Please, let me know if I can provide more information! Thanks a lot for working on rust-analyzer!!! :)
The text was updated successfully, but these errors were encountered: