Skip to content

rust-analyzer.check.overrideCommand doc gives a String as an example, while Vec<String> is expected #20346

@Logarithmus

Description

@Logarithmus

https://rust-analyzer.github.io/book/configuration.html#check.overrideCommand claims I can provide a string:

Image

But this didn't work as expected, so I had to check source code and my suspicion was correct, it expects a Vec:

https://github.com/rust-lang/rust-analyzer/blob/8611b714597c89b092f3d4874f14acd3f72f44fd/crates/rust-analyzer/src/config.rs#L844C9-L844C99

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions