Skip to content

Rewrite mut_mut - #17332

Merged
samueltardieu merged 1 commit into
rust-lang:masterfrom
Jarcho:mut_mut
Jul 2, 2026
Merged

Rewrite mut_mut#17332
samueltardieu merged 1 commit into
rust-lang:masterfrom
Jarcho:mut_mut

Conversation

@Jarcho

@Jarcho Jarcho commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Changes:

  • Remove the set of previously seen nodes.
  • Remove the block visitor.
  • Handle SyntaxContext switches better.

The span handling for the suggestion still needs work, but that's waiting on #14724.

changelog: none

@Jarcho Jarcho added the G-performance-project Goal: For issues and PRs related to the Clippy Performance Project label Jul 2, 2026
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 2, 2026
@rustbot

rustbot commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

r? @samueltardieu

rustbot has assigned @samueltardieu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

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 dswij, llogiq, samueltardieu

* Remove the set of previously seen nodes.
* Remove the block visitor.
* Handle `SyntaxContext` switches better.
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Lintcheck changes for 903abe7

Lint Added Removed Changed
clippy::mut_mut 31 0 11

This comment will be updated if you push new changes

@samueltardieu
samueltardieu added this pull request to the merge queue Jul 2, 2026
Merged via the queue into rust-lang:master with commit ebc7150 Jul 2, 2026
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

G-performance-project Goal: For issues and PRs related to the Clippy Performance Project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants