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

Complex compiler error messages should include a link to a relevant tutorial #9971

Closed
bblum opened this issue Oct 20, 2013 · 2 comments
Closed
Labels
A-diagnostics Area: Messages for errors, warnings, and lints C-enhancement Category: An issue proposing an enhancement or a PR with one. P-low Low priority

Comments

@bblum
Copy link
Contributor

bblum commented Oct 20, 2013

For example, if the compiler says instantiating a type parameter with an incompatible type which does not fulfill Send``, this is not useful to someone who doesn't even know what Send means. For messages like this, the compiler should include a `span_note` that points the user in an appropriate direction for further reading.

@jdm
Copy link
Contributor

jdm commented Oct 20, 2013

This sounds like #2092.

@bblum
Copy link
Contributor Author

bblum commented Oct 20, 2013

ah, thank you

@bblum bblum closed this as completed Oct 20, 2013
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 C-enhancement Category: An issue proposing an enhancement or a PR with one. P-low Low priority
Projects
None yet
Development

No branches or pull requests

2 participants