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

Remove try --explain EXXXX if we know that an explanation is not written #59848

Closed
nagisa opened this issue Apr 10, 2019 · 0 comments · Fixed by #60046
Closed

Remove try --explain EXXXX if we know that an explanation is not written #59848

nagisa opened this issue Apr 10, 2019 · 0 comments · Fixed by #60046
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@nagisa
Copy link
Member

nagisa commented Apr 10, 2019

Ideally we would have explanations written for every error code, but that is a long term effort and we should stop giving people false hope about things possibly existing when we know that they do not exist in cases like these:

error: aborting due to previous error

For more information about this error, try `rustc --explain E0495`.

$ rustc --explain E0495
error: no extended information for E0495
@nagisa nagisa added the A-diagnostics Area: Messages for errors, warnings, and lints label Apr 10, 2019
Centril added a commit to Centril/rust that referenced this issue Apr 18, 2019
…ons, r=estebank

hide `--explain` hint if error has no extended info

Fixes rust-lang#59848.

r? @estebank
bors added a commit that referenced this issue Apr 18, 2019
…bank

hide `--explain` hint if error has no extended info

Fixes #59848.

r? @estebank
Centril added a commit to Centril/rust that referenced this issue Apr 18, 2019
…ons, r=estebank

hide `--explain` hint if error has no extended info

Fixes rust-lang#59848.

r? @estebank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant