-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Make derivable_impls
machine applicable
#9429
Conversation
r? @xFrednet (rust-highfive has picked a reviewer for you, use r? to override) |
tests/ui/derivable_impls.stderr
Outdated
= help: Remove it | ||
help: and instead derive it | ||
| | ||
LL | #[derive(Default)] | ||
| |
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.
Since the Span
is 0-length long, the struct XXX
part is not shown. I don't think this is a big issue now that it can be fixed automatically, but didn't find how to fix it in case it's a deal breaker.
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.
This looks good to me, I have a small NIT about the error message, but everything else is perfect 🙃
Sorry, that the review took so long, my week has been very chaotic. Next review should be faster 🙃
This version looks good to me, but you need to bless the test one more time, after fixing the typo 🙃 |
Thank you, I don't know for sure the commit policy on the repo (squash everything in the end/no force push during review/...) so haven't cleaned the history (yet if needed) |
We have a no merge commit policy. For the number of commits and squashing, we often go by feel. If the commits are structured well with good message or just one fix commit, we usually just merge it as it is. In this case, it would be cool, if you could squash them into one or two commits. A small thing about squashing a rebasing is that GitHub doesn't work too well with it. So, after the first review, it's typically better to wait until the end for a rebase if you want to. You can of course also ask the reviewer. With small adjustments like this one, I often squash the change directly to the last commit and force push. In short, we don't have a set in stone policy ^^. It would be cool if you could clean up the history, and then we can merge it 🙃 |
Perfect, this looks good to me! Thank you very much for this addition and the swift responses. 🙃 @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
changelog: [
derivable_impls
]: Now machine applicable