-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Assorted diagnostics improvements #27313
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
Conversation
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
r- I want the style guide updated too. I'm gonna send a PR against nagisa's branch for that. |
Actually, scratch that r-. There's no document to place such guidelines on. |
☔ The latest upstream changes (presumably #27234) made this pull request unmergeable. Please resolve the merge conflicts. |
Mostly by splitting error messages into proper pairs of errors and helps
b64aa67
to
cca0ea7
Compare
Rebased. |
okay the other two commits are largely about this terminological shift from using the word "illegal" to using the word "invalid" I myself do not particularly mind, but I'm going to double check with some other team members to make sure everyone agrees that this is the right direction for us to go in. |
@bors r+ |
📌 Commit cca0ea7 has been approved by |
@bors rollup |
Improves diagnostics in various locations, namely: * A few error messages that orignally were a mix of an error message and suggestion how to fix it have been split up into two messages: an error and help/hint. * Never report “illegal”. Fixes rust-lang#27288
Improves diagnostics in various locations, namely: