Rust extension not working!

image

for my other projects it works fine but for some reason I keep on getting this error in a new project.

And the extention no longer high lights any errors etc. I am running on Windows and I am using vscode.

Could you copy the Cargo.toml of the problematic project here?

2 Likes

Unfortunately I can't upload it over here it doesn't let me so I will upload it to Google drive instead.

Could you just copy the Cargo.toml content and paste it as a code? It is no way it wont let you do it, and it would be much easier to reason about than playing with some zip files. Also it would be more clear about a problem for future readers.

Oh ok sure.

[package]
name = "testing"
version = "0.1.0"
authors = ["joe"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]

It seems to be happening with every future projects that I am creating.

Ok so opening it up with another computer it seems to work just fine with the exact same project, why is it not working on this PC?

I don't know - I see that your Cargo.toml is just correct. I am using RLS and it is working. TBH I would wait for someone who is using and know anything about Visual Studio Code - I guess it may be something with its configuration, but I don't use this environment.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.