-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Updated E0560 to new error format #36330
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Aatch (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. |
@aclarry As expected, your PR for E0560 and mine for E0559 are in conflict. You have to rebase your PR onto master so there are no conflicts anymore. By the way, @jonathandturner takes care of the "update to new format" thing, so you have to tell rust-highfive that he is the assignee, by doing like so : Otherwise your PR will probably go unnoticed for awhile :) |
f898ad7
to
d1a571f
Compare
@Cobrand thanks for the heads up, I thought I merged in your changes, but apparently not :) |
☔ The latest upstream changes (presumably #36331) made this pull request unmergeable. Please resolve the merge conflicts. |
@aclarry - looks good. After you fix up the conflict, you can ping me and we can give it a go. |
@jonathandturner I'm running into a bit of a conflict with E0559. Specifically, which behaviour do we want when we can also suggest a field name?
I'm going to update my PR to use 2), since it seems the most natural, but let me know what the preferred format is. |
I lean towards option 1. We could make it explain a little more as well:
|
35cfda8
to
f957f0d
Compare
@aclarry - Looks like it's not currently building:
|
@jonathandturner Yep, just working that out at the moment. I updated the PR to use the message |
f957f0d
to
2b38f79
Compare
2b38f79
to
cf32fae
Compare
cf32fae
to
23efc54
Compare
@jonathandturner The CI tests have passed, this should be ready to merge if you're happy with the implementation and the updated label for E0559. |
Looks good! @bors r+ rollup |
📌 Commit 23efc54 has been approved by |
…rner Updated E0560 to new error format Added a small bit of code to add a label for E0560. Also renamed src/test/compile-fail/E560.rs file to E0560.rs (not sure why it was named E560). Updated all test cases which check this error. Closes rust-lang#36199
…rner Updated E0560 to new error format Added a small bit of code to add a label for E0560. Also renamed src/test/compile-fail/E560.rs file to E0560.rs (not sure why it was named E560). Updated all test cases which check this error. Closes rust-lang#36199
…rner Updated E0560 to new error format Added a small bit of code to add a label for E0560. Also renamed src/test/compile-fail/E560.rs file to E0560.rs (not sure why it was named E560). Updated all test cases which check this error. Closes rust-lang#36199
Added a small bit of code to add a label for E0560.
Also renamed src/test/compile-fail/E560.rs file to E0560.rs (not sure why it was named E560).
Updated all test cases which check this error.
Closes #36199