Skip to content

feat: manual_rotate also recognize non-consts - #15402

Merged
llogiq merged 4 commits into
rust-lang:masterfrom
ada4a:manual-rotate
Oct 15, 2025
Merged

feat: manual_rotate also recognize non-consts#15402
llogiq merged 4 commits into
rust-lang:masterfrom
ada4a:manual-rotate

Conversation

@ada4a

@ada4a ada4a commented Aug 3, 2025

Copy link
Copy Markdown
Contributor

changelog: [manual_rotate]: also recognize non-consts

fixes #13028

r? @llogiq

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

samueltardieu commented Aug 3, 2025

Copy link
Copy Markdown
Member

@ada4a Note that this is a new feature, and we are in a feature freeze period, so this might be delayed.

@rustbot blocked @rustbot label +C-enhancement
@rustbot note Feature-freeze

@ada4a

ada4a commented Aug 3, 2025

Copy link
Copy Markdown
Contributor Author

The issue refers to this as a false negative, but I agree that it could be seen as a feature addition. I'm okay with waiting for a bit:)

@rustbot rustbot added S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Aug 23, 2025
@rust-lang rust-lang deleted a comment from rustbot Aug 23, 2025
@samueltardieu samueltardieu added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties and removed S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work labels Sep 17, 2025
@rustbot

This comment has been minimized.

ada4a added 3 commits October 4, 2025 21:35
switch around `*_amount` and `*_expr` -- otherwise the order gets
confusing now because of both of them being `Expr`s
this is kind of a side-effect of the next commit
@rustbot

rustbot commented Oct 4, 2025

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@ada4a

ada4a commented Oct 4, 2025

Copy link
Copy Markdown
Contributor Author

@rustbot note remove Feature-freeze

@llogiq

llogiq commented Oct 15, 2025

Copy link
Copy Markdown
Contributor

Looks good to me. Sorry for the delay.

@llogiq
llogiq added this pull request to the merge queue Oct 15, 2025
Merged via the queue into rust-lang:master with commit ab9eb10 Oct 15, 2025
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 15, 2025
@ada4a
ada4a deleted the manual-rotate branch October 16, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

False negative: manual_rotate doesn't catch variable shift amounts

4 participants