Skip to content

[double_must_use]: make the lint machine-applicable in single-attribute case#17144

Merged
samueltardieu merged 1 commit into
rust-lang:masterfrom
LebedevRI:double_must_use-fixit
Jun 3, 2026
Merged

[double_must_use]: make the lint machine-applicable in single-attribute case#17144
samueltardieu merged 1 commit into
rust-lang:masterfrom
LebedevRI:double_must_use-fixit

Conversation

@LebedevRI

@LebedevRI LebedevRI commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

changelog: [double_must_use]: make the lint machine-applicable in single-attribute case

After #16919, not having this fix-it will be unfortunate,
since that lint will cause many new instances of this diag.

Refs #16856

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 3, 2026
@rustbot

rustbot commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @dswij (or someone else) some time within the next two weeks.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue
Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: 8 candidates
  • 8 candidates expanded to 8 candidates
  • Random selection from Jarcho, dswij, llogiq, samueltardieu

Comment thread clippy_lints/src/functions/must_use.rs Outdated
Comment thread clippy_lints/src/functions/must_use.rs
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Jun 3, 2026
@rustbot

rustbot commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Reminder, once the PR becomes ready for a review, use @rustbot ready.

…bute case

changelog: [`double_must_use`]: make the lint machine-applicable in single-attribute case

After [`clippy::missing_must_use`] lint appears,
not having this fix-it will be unfortunate,
since that lint will cause many new instances of this diag.
@LebedevRI LebedevRI force-pushed the double_must_use-fixit branch from 37e2063 to bf73658 Compare June 3, 2026 16:13
@LebedevRI

Copy link
Copy Markdown
Contributor Author

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties and removed S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) labels Jun 3, 2026
@samueltardieu samueltardieu added this pull request to the merge queue Jun 3, 2026
Merged via the queue into rust-lang:master with commit ae3153b Jun 3, 2026
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 3, 2026
@LebedevRI LebedevRI deleted the double_must_use-fixit branch June 3, 2026 17:36
@LebedevRI

Copy link
Copy Markdown
Contributor Author

@samueltardieu thank you for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants