-
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
Crashes every time in a specific project (VSCode) #5125
Comments
Do you have any path dependencies in |
Yes |
Crashes around https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_project_model/src/cargo_workspace.rs#L248 with the assertion that the workspace has an absolute path. |
Would be useful to get output of |
I can't really give you the Any specific entries I could provide? |
|
|
Hm, not sure what’s going on here.... Do you have out_dir or proc macro support enabled in the settings? |
Ok, I fiddled with user settings I had this entry for some reason
after removing, everything works fine |
@Dzejkop could you run |
Ah, I guess, you might be using rust older than 1.41,and that causes cargo metadata to use default path here. |
5152: Don't crash on empty out_dirs with older cargos r=matklad a=matklad closes #5125 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Yup, I'm using Rust 1.40, thanks for looking into this |
Every single time rust-analyzer starts for this project it displays the notification
and in the logs there appear a bunch of entries like this one:
Funny enough thisonly seems to affect one specific project.
The text was updated successfully, but these errors were encountered: