#Error with rust-analyzer extension for rust in Visual Studio Code

1 messages · Page 1 of 1 (latest)

timid wedge
#

Hello guys!!
Any idea why I get these error with the rust analyzer in Visual Studio?

somber kestrel
#

What happens if you run cargo check?

summer leaf
#

Add in your Cargo.toml so we can see. I believe the error is happening because two of your dependencies are wanting a different version of the same package

somber kestrel
#

That wouldn't be a problem. Looks like all the 0.20 versions are yanked, though. Change anchor-lang = "^0.25.0" and you should be good.