-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add better error message for partial move #58199
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @davidtwco (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. |
I have several tests failing on my branch, but am hoping this PR will allow others to help me move forward. |
@clintfred Excited to see this PR! Could you update those test outputs and add them to the PR so that we can see what outputs you are getting and add review comments with steps to take? |
@davidtwco I'm not sure I understand your request. Won't we see the failing tests when CI runs? Or does it run only some intelligent subset of the tests based on what's changed? |
@clintfred We will, but it's easier to put review comments and have discussions on your changes than the test results. |
@clintfred you can run |
@estebank I think that's the same set of failures I was seeing on my machine, so that's a good sign. When reviewing them on my own, it wasn't clear to me that all of those error messages were correct after my change. I will look again, but I would appreciate confirmation from others that they look correct as well. I will run with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great. Here are some small changes.
… the move was partial
I have implemented the suggested changes. Some tests will start failing again and hopefully they will be all the tests that were previously erroneously marked as partial moves... If so, I can rerun the |
A quick glance makes me think that these are all correct. Feel free to bless and push @clintfred. |
@bors r+ |
📌 Commit de05548 has been approved by |
🌲 The tree is currently closed for pull requests below priority 160, this pull request will be tested once the tree is reopened |
Oh, sorry, didn't realize that you were the reviewer, @davidtwco. Feel free to r- if you disagree. |
No worries, this looks great! Thanks @clintfred! |
@bors r- rollup- Failed in NLL mode in #58566 (comment). Needs to update the text (bless) these 6 test cases:
|
@kennytm I'll take a look. |
I think all you have to do is run the same |
@bors r+ rollup |
📌 Commit 02fe6a7 has been approved by |
@bors rollup- |
@estebank I'm not sure of the status here. Do I need to do anything? |
@clintfred not for the moment, I removed the Thank you for all the effort you've put into this! These small incremental improvements add up and are critical to maintaining the quality we want to see in |
…stebank Add better error message for partial move closes rust-lang#56657 r? @davidtwco
…stebank Add better error message for partial move closes rust-lang#56657 r? @davidtwco
…stebank Add better error message for partial move closes rust-lang#56657 r? @davidtwco
…stebank Add better error message for partial move closes rust-lang#56657 r? @davidtwco
…stebank Add better error message for partial move closes rust-lang#56657 r? @davidtwco
Rollup of 16 pull requests Successful merges: - #58100 (Transition librustdoc to Rust 2018) - #58122 (RangeInclusive internal iteration performance improvement.) - #58199 (Add better error message for partial move) - #58227 (Updated RELEASES.md for 1.33.0) - #58353 (Check the Self-type of inherent associated constants) - #58453 (SGX target: fix panic = abort) - #58476 (Remove `LazyTokenStream`.) - #58526 (Special suggestion for illegal unicode curly quote pairs) - #58595 (Turn duration consts into associated consts) - #58609 (Allow Self::Module to be mutated.) - #58628 (Optimise vec![false; N] to zero-alloc) - #58643 (Don't generate minification variables if minification disabled) - #58648 (Update tests to account for cross-platform testing and miri.) - #58654 (Do not underflow after resetting unmatched braces count) - #58658 (Add expected/provided byte alignments to validation error message) - #58667 (Reduce Miri-related Code Repetition `like (n << amt) >> amt`) Failed merges: r? @ghost
closes #56657
r? @davidtwco