This repository was archived by the owner on Nov 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 164
RLS can't find rand crate #442
Comments
Did you add it to Cargo.toml? The RLS watches Cargo.toml, so unless that changes it won't notice that a crate has been added. |
actually no I didn't, I'll try that and let you know. |
My issue with this was related to Visual Studio Code and that in the cargo file I had: I moved my Cargo.toml import to reflect: Visual Studio Code stopped complaining about the import. I know this for this particular issue but hopefully google will bring someone else to this answer and it'll help. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
so I added the rand crate to my project as per the following:
extern crate rand;
use rand::Rng;
and now I'm getting 2 problems at the bottom status bar in VSCode.
the code compiles without any problems and it's not affecting functionality, but I'm not sure where this is coming from and how severe this issue is.
The text was updated successfully, but these errors were encountered: