Skip to content

Conversation

Jarcho
Copy link
Contributor

@Jarcho Jarcho commented Apr 15, 2025

Based on #13223

Various refactoring on clippy_dev before upgrading rename and splitting clippy_lints into multiple crates.

Some improvements:

  • The working directory is set to the root clippy directory. Running from a subdirectory was kind of supported before sometimes. Now it just works.
  • File won't be written unless they're actually updated. Most of the time they weren't written, but a few cases slipped through.
  • Buffers are reused more for the negligible speed boost.

changelog: None

@rustbot
Copy link
Collaborator

rustbot commented Apr 15, 2025

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

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 15, 2025
@rustbot

This comment has been minimized.

@samueltardieu
Copy link
Member

Since it's waiting on #13223 and I'll be AFK for a while, reassigning similarly to #13223
r? @flip1995

@rustbot rustbot assigned flip1995 and unassigned samueltardieu Apr 17, 2025
@Jarcho Jarcho force-pushed the dev_cleanup branch 3 times, most recently from f1cbd11 to 29fc393 Compare April 23, 2025 01:10
@Jarcho
Copy link
Contributor Author

Jarcho commented Apr 24, 2025

Since @flip1995 is busy r? clippy

@rustbot rustbot assigned dswij and unassigned flip1995 Apr 24, 2025
@rustbot

This comment has been minimized.

Copy link
Member

@dswij dswij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, needs to resolve the conflict before merging @Jarcho

@samueltardieu
Copy link
Member

You'll have to rebase when #14784 is merged.

@Jarcho
Copy link
Contributor Author

Jarcho commented May 14, 2025

Ping @dswij in case github doesn't.

@dswij dswij added this pull request to the merge queue May 14, 2025
Merged via the queue into rust-lang:master with commit 40bead0 May 14, 2025
11 checks passed
github-merge-queue bot pushed a commit that referenced this pull request May 16, 2025
Based on #14616

Extends `rename_lint` to handle more cases and makes `update_lints` sort
`deprecated_lints.rs`.

changelog: None
github-merge-queue bot pushed a commit that referenced this pull request May 17, 2025
Based on #14616

`cargo dev fmt` should now run almost instantly rather than taking a few
seconds.

changelog: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants