Skip to content

The rust-analyzer VS Code extension should automatically download the corresponding server binary according to the toolchain file instead of warning about it #21261

@KSXGitHub

Description

@KSXGitHub

Workspace .../Cargo.toml is using an outdated toolchain version 1.89.0 but rust-analyzer only supports 1.90.0 and higher.
Consider using the rust-analyzer rustup component for your toolchain or
upgrade your toolchain to a supported version.

This error is very annoying.

The extension should have loaded the corresponding rust-analyzer component according to the version specified in the rust-toolchain file.

Fixing the above warning requiring creating a local .vscode/settings.json and manually set the server path to the local component. This too is very annoying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions