Skip to content

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

Merged
merged 3 commits into from
Jul 29, 2015
Merged

Conversation

nagisa
Copy link
Member

@nagisa nagisa commented Jul 27, 2015

Improves diagnostics in various locations, namely:

@rust-highfive
Copy link
Contributor

r? @pnkfelix

(rust_highfive has picked a reviewer for you, use r? to override)

@Havvy
Copy link
Contributor

Havvy commented Jul 28, 2015

r-

I want the style guide updated too. I'm gonna send a PR against nagisa's branch for that.

@Havvy
Copy link
Contributor

Havvy commented Jul 28, 2015

Actually, scratch that r-. There's no document to place such guidelines on.

@bors
Copy link
Collaborator

bors commented Jul 28, 2015

☔ The latest upstream changes (presumably #27234) made this pull request unmergeable. Please resolve the merge conflicts.

@nagisa nagisa force-pushed the illegal-to-invalid branch from b64aa67 to cca0ea7 Compare July 28, 2015 22:59
@nagisa
Copy link
Member Author

nagisa commented Jul 28, 2015

Rebased.

@pnkfelix
Copy link
Member

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.

@pnkfelix
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 29, 2015

📌 Commit cca0ea7 has been approved by pnkfelix

@pnkfelix
Copy link
Member

@bors rollup

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jul 29, 2015
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
bors added a commit that referenced this pull request Jul 29, 2015
@bors bors merged commit cca0ea7 into rust-lang:master Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User facing messages MUST NOT say "illegal".
5 participants