Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give correct error message if user tries to install an unavailable toolchain #1380

Merged
merged 1 commit into from
May 27, 2018
Merged

Give correct error message if user tries to install an unavailable toolchain #1380

merged 1 commit into from
May 27, 2018

Conversation

aimileus
Copy link
Contributor

@aimileus aimileus commented Mar 17, 2018

Currently if a user runs rustup install unavailable-toolchain, the error message is: error: toolchain 'unavailable-toolchain' is not installed. This is error message is weird, since the user runs rustup to install the toolchain. This commit copies the "InvalidToolchainName error from rustup-dist, and configures rustup install to use this error.

Currently if a user runs `rustup install unavailable-toolchain`, the
error message is: `error: toolchain 'unavailable-toolchain' is not
installed`. This is error message is weird, since the user runs rustup
to install the toolchain. This commit copies the "InvalidToolchainName"
error from rustup-dist, and configures rustup install to use this error.
@Diggsey
Copy link
Contributor

Diggsey commented May 27, 2018

Thanks for the PR!

@Diggsey Diggsey merged commit 62c36af into rust-lang:master May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants