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

Added error message for E0284 #61220

Merged
merged 2 commits into from
May 28, 2019
Merged

Conversation

imbrem
Copy link
Contributor

@imbrem imbrem commented May 26, 2019

Work on #61137

@rust-highfive
Copy link
Collaborator

Some changes occurred in diagnostic error codes

cc @GuillaumeGomez

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @michaelwoerister (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 26, 2019
@GuillaumeGomez
Copy link
Member

Looks good to me. Could an english native double-check if that I didn't miss something please?

cc @rust-lang/docs

@rust-highfive

This comment has been minimized.

@imbrem
Copy link
Contributor Author

imbrem commented May 26, 2019

I incorporated the suggested changes on my local fork and pushed up. Did I do it right?

@imbrem imbrem force-pushed the error_explanations branch 2 times, most recently from 1ada835 to 523cf5b Compare May 26, 2019 22:38
@rust-highfive

This comment has been minimized.

@estebank
Copy link
Contributor

You'll need to run ./x.py test src/test/ui --stage 1 --bless to update the ui tests, as now that the error has an explanation rustc recommends reading it.

@imbrem imbrem force-pushed the error_explanations branch from 523cf5b to da34fd3 Compare May 27, 2019 06:48
@imbrem
Copy link
Contributor Author

imbrem commented May 27, 2019

@estebank did I do it right?

@michaelwoerister
Copy link
Member

r? @estebank

@imbrem imbrem force-pushed the error_explanations branch from da34fd3 to b348012 Compare May 27, 2019 23:37
@estebank
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 28, 2019

📌 Commit b348012 has been approved by estebank

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 28, 2019
Centril added a commit to Centril/rust that referenced this pull request May 28, 2019
bors added a commit that referenced this pull request May 28, 2019
Rollup of 9 pull requests

Successful merges:

 - #61084 (Clarify docs for unreachable! macro)
 - #61220 (Added error message for E0284)
 - #61227 (Use .await syntax instead of await!)
 - #61230 (avoid creating Boxes of uninitalized values in RawVec)
 - #61237 (Updated the Iterator docs with information about overriding methods.)
 - #61241 (Check place iterative)
 - #61242 (Make dest_needs_borrow iterate instead of recurse)
 - #61247 (Make eval_place iterate instead of recurse)
 - #61248 (Use Place::local)

Failed merges:

r? @ghost
bors added a commit that referenced this pull request May 28, 2019
Rollup of 9 pull requests

Successful merges:

 - #61084 (Clarify docs for unreachable! macro)
 - #61220 (Added error message for E0284)
 - #61227 (Use .await syntax instead of await!)
 - #61230 (avoid creating Boxes of uninitalized values in RawVec)
 - #61237 (Updated the Iterator docs with information about overriding methods.)
 - #61241 (Check place iterative)
 - #61242 (Make dest_needs_borrow iterate instead of recurse)
 - #61247 (Make eval_place iterate instead of recurse)
 - #61248 (Use Place::local)

Failed merges:

r? @ghost
@bors bors merged commit b348012 into rust-lang:master May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants