-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Hovering Over Items Doesn't Work in Nested Crates #6605
Comments
I assume you don't use a cargo workspace. Rust-analyzer runs |
I am actually using workspaces |
Nevermind I figured it out, I needed to have the module included ._. |
Maybe we could show some kind of big warning banner in such cases, with a button to automatically insert the |
Yes, that's what I used to have when I was using IntelliJ Rust |
We can emit an "unused" diagnostic spanning the whole file, like we do for code that's |
@flodiebold dupe of #6377? |
Yeah, I'd say so. |
I have a project with file structure like this:
![image](https://user-images.githubusercontent.com/39023054/99900164-2e41d300-2ce9-11eb-9376-8bff04fcdfb9.png)
The problem is that when I hover over definitions of Rust source files in the root
src
folder (not the one inlightsaber_bootlaoder
), it works as expected.For some unknown reason, when I hover over definitions of Rust source files in the
![image](https://user-images.githubusercontent.com/39023054/99900250-706b1480-2ce9-11eb-92db-601fcbea7741.png)
src
folder inlightsaber_bootloader
, no information popped up. It works at a bare minimum inmain.rs
in that folder:And everything else, straight up doesn't work.
The text was updated successfully, but these errors were encountered: