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

Confusing error message when specifying non-existent version #793

Closed
kamalmarhubi opened this issue Nov 4, 2016 · 1 comment
Closed

Comments

@kamalmarhubi
Copy link
Contributor

The following interaction is confusing:

$ rustup run 1.8 rustc test.rs
error: toolchain '1.8' is not installed
$ rustup install 1.8
error: toolchain '1.8' is not installed
$ rustup install 1.8.0
info: syncing channel updates for '1.8.0-x86_64-unknown-linux-gnu'

  1.8.0-x86_64-unknown-linux-gnu unchanged - rustc 1.8.0 (db2939409 2016-04-11)

The second error should say that 1.8 isn't even a thing, not that it's not installed. The first probably should as well. Bonus points for suggesting 1.8.0, especially if it's installed as is the case here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants