Skip to content

[beta] Clippy backport - #165499

Closed
flip1995 wants to merge 3 commits into
rust-lang:betafrom
flip1995:clippy-beta-backport
Closed

flip1995 wants to merge 3 commits into
rust-lang:betafrom
flip1995:clippy-beta-backport

Conversation

@flip1995

@flip1995 flip1995 commented Nov 5, 2026

Copy link
Copy Markdown
Member

r? Mark-Simulacrum

We want to backport 3 ICE/infinite loop fixes:

rustbot and others added 3 commits November 5, 2026 15:02
…g#17752)

Implements part of rust-lang/rust-clippy#17485

Unleaking a leaked `Box` pointer isn't well defined, so we shouldn't be
suggesting to change `into_raw` into `leak`. This needs to be backported
to beta and ideally would be synced before a new beta is branched off.

r? flip1995

changelog: [`nonnull_unchecked_on_box_ptr`]: Don't suggest `Box::leak`
…ust-lang#17828)

fixes rust-lang/rust-clippy#17799
changelog: [`wildcard_imports`]: fix infinite loop on macro generated
glob imports
Skip anonymous AssocItems generated by RPITIT.
Fixes rust-lang/rust-clippy#17940

changelog: [arbitrary_source_item_ordering]: Fix ICE caused by synthetic
associated items generated by RPITIT
@rustbot

rustbot commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

clippy is developed in its own repository. If possible, consider making this change to rust-lang/rust-clippy instead.

cc @rust-lang/clippy

@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 (such as code changes or more information) from the author. labels Nov 5, 2026
@rustbot

rustbot commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

  • There are issue links (such as #123) in the commit messages of the following commits.
    Please move them to the PR description, to avoid spamming the issues with references to the commit, and so this bot can automatically canonicalize them to avoid issues with subtrees.

@JonathanBrouwer JonathanBrouwer added beta-nominated Nominated for backporting to the compiler in the beta channel. beta-accepted Accepted for backporting to the compiler in the beta channel. and removed beta-nominated Nominated for backporting to the compiler in the beta channel. labels Nov 5, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member

Rolled up into #165513

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 5, 2026
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 5, 2026
@JonathanBrouwer

JonathanBrouwer commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

(actually I think github should mark this PR is merged if we keep it open)

@JonathanBrouwer JonathanBrouwer added this to the 1.100.0 milestone Nov 5, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 5, 2026
[beta] backports

Cherry picked:
* #165497
* #165499
  - rust-lang/rust-clippy#17752 (was already last beta, but we didn't manage to get the proper fixed merged in time like we planned)
  - rust-lang/rust-clippy#17828
  - rust-lang/rust-clippy#17941

r? @ghost
rust-bors Bot pushed a commit that referenced this pull request Nov 5, 2026
[beta] backports

Cherry picked:
* #165497
* #165499
  - rust-lang/rust-clippy#17752 (was already last beta, but we didn't manage to get the proper fixed merged in time like we planned)
  - rust-lang/rust-clippy#17828
  - rust-lang/rust-clippy#17941

r? @ghost
@flip1995

flip1995 commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

For some reason GitHub didn't auto-close it. 🤷

@flip1995 flip1995 closed this Nov 6, 2026
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 6, 2026
@flip1995
flip1995 deleted the clippy-beta-backport branch November 6, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta-accepted Accepted for backporting to the compiler in the beta channel. T-clippy Relevant to the Clippy team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants