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

misleading error message when you give a partial version number #882

Closed
nikomatsakis opened this issue Dec 22, 2016 · 2 comments
Closed

Comments

@nikomatsakis
Copy link

> rustup toolchain install 1.13
error: toolchain '1.13' is not installed
> rustup toolchain install 1.13.0
....

This confused me for a while. I would have expected something like "1.13 is not a valid toolchain", at minimum, and ideally something like:

> rustup toolchain install 1.13
error: '1.13' is not a valid toolchain
Perhaps you meant one of the following?
- 1.13.0
- 1.13.1 // if we had had a point release... :)
@nikomatsakis nikomatsakis changed the title error message when you give a partial version number leaves something to be desired misleading error message when you give a partial version number Dec 22, 2016
@Diggsey
Copy link
Contributor

Diggsey commented May 3, 2017

Alternatively: #794

@Diggsey
Copy link
Contributor

Diggsey commented May 3, 2017

Dupe of #793

@Diggsey Diggsey closed this as completed May 3, 2017
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

No branches or pull requests

2 participants