-
Notifications
You must be signed in to change notification settings - Fork 892
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
internal error: entered unreachable code #474
Comments
I think it's as simple as adding a line directly after this one which contains: ("add", Some(m)) => try!(update(cfg, m)), |
@kbknapp the problem here is that user input can trigger a unreachable. Every typo will become an internal error rather than a proper “unknown subcommand: banana.\nnote: did you mean install” |
@nagisa |
Ugh, that's like the third of these synonyms I've missed. Should have added tests... |
Fix the toolchain command synonyms. Fixes #474
Full disclosure, that's a newly implemented feature, so they haven't seen a lot of use. Actually the nicest thing I'm find them for is aliasing |
The text was updated successfully, but these errors were encountered: