-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Unable to find definition for hashbrown
#17606
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
You will have to enable the |
@Veykril I don't know why "rust-analyzer.cargo.sysrootQueryMetadata" doesn't work any more. |
See #17795. I think it will start working again in 1.82. |
Sorry I was a bit eager with dropping that flag 😅 Any toolchain version 1.82 and beyond will work (so you could use the current beta now as well I think, or in a week) |
Solved my problem, thx very much! |
@fishincat wait, so does it work in 1.83.0-nightly (bd53aa3bf 2024-09-02)? |
YES |
@lnicola The
The error is:
How should I do? |
We actually try to run |
We don't run that for explicit sysroot paths, only when set to |
So is there any way to fix this? |
Remove |
Yes, It works. |
I have describe this at stackoverflow: https://stackoverflow.com/questions/78754358/vscode-rust-analyzer-can-not-find-definition-of-hashbrown
here is my code:
main.rs
Cargo.toml
rust-analyzer version is: v0.3.2037 (actually no version works)
rust version
rustup component list --installed
my problem is:
When I jump to the definition of HashMap:
I can not go deep to the definition of base(hashbrown), it shows:
how to solve this?
The text was updated successfully, but these errors were encountered: