Skip to content

improve error message for missing toolchain #3573

Closed
@andrewbanchich

Description

@andrewbanchich

Problem you are trying to solve

Running cargo +nightly fmt without nightly installed produces

error: toolchain 'nightly-x86_64-unknown-linux-gnu' is not installed

but doesn't suggest any ways to fix the problem. This can be confusing for newcomers.

Solution you'd like

It would be great if it suggested to run rustup install nightly.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions