Skip to content

Rust-analyzer version is outdated #1783

@numero-744

Description

@numero-744

For instance, if one uses std::iter::repeat_n(t, n), with current stable channel, it compiles but YCM claims with an Error diagnostic that it is unstable.
(If you use repeat(t).take(n) instead, cargo clippy even warns you that you should use repeat_n now!)

It would be nice to use either stable, or better, to use the version of rust-analyzer which is already installed user-wide by rustup.
This way the diagnostics provided in vim would always be the same than those provided by commands such as cargo check.
Also, it would avoid installing rust-analyzer twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions