Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Rustfmt failed with wsl #610

Open
Open
@thymbahutymba

Description

@thymbahutymba

I'm trying to format my code pressing ALT+SHIFT+F but i get the following error

[Error - 10:51:44] Request textDocument/formatting failed.
  Message: Reformat failed to complete successfully
  Code: -32603 

Here the rust configuragion in my setting.json

"rust-client.useWSL": true,
"rust-client.revealOutputChannelOn": "info",
"rust-client.rustupPath": "~/.cargo/bin/rustup",

Using cargo fmt from wsl terminal works correctly. What I'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wslIssue related to WSL - Windows Subsystem for Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions