Suppress the triggering of some lints in derived structures by c410-f3r · Pull R...
source link: https://github.com/rust-lang/rust-clippy/pull/10203
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Suppress the triggering of some lints in derived structures #10203
Conversation
Contributor
Collaborator
r? @giraffate (rustbot has picked a reviewer for you, use r? to override) |
added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label
Contributor
This is a reference to adding tests for the derived struct: #9043 If you have any questions, feel free to ask me. |
Member
Hey @c410-f3r, would you mind listing the lints that are affected by this change, for the changelog entry? |
Contributor
Author
Thank you @giraffate |
Contributor
Author
|
Contributor
This doesn't fix #9757 as |
Member
Thank you! |
Contributor
The latest upstream changes (presumably #10310) made this pull request unmergeable. Please resolve the merge conflicts. |
Contributor
Hey @c410-f3r would you be able to resolve the merge conflicts here? I'm happy to help in any way I can, but seems like you've got it covered. |
Contributor
Author
Well, that is unfortunate... Tests are now using statements that were manually created. |
Contributor
Author
The actual fix needed more than a rebase but everything should probably be fine now |
Contributor
Author
ping @giraffate I can re-roll if you don't have the time to review |
Contributor
The latest upstream changes (presumably #10585) made this pull request unmergeable. Please resolve the merge conflicts. |
Contributor
Thanks for letting me know! I'll review this in this week. |
Overall looks good. I made small comments.
question: For shadow_reuse
, does this pull request just add a test?
changelog: FP: [integer_arithmetic], [arithmetic_side_effects], [shadow_reuse]: No longer lint inside proc macros
Contributor
Author
Yeah, just modified the changelog. Initially I tried to solve #9757 but it turns out that such thing shouldn't happen because |
Contributor
@bors r+ Thanks! |
Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
No milestone
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK