Do not suggest moving expression out of for loop when hitting break from desugaring by estebank · Pull Request #149863 · rust-lang/rust (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation6 Commits1 Checks11 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

@estebank

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Dec 10, 2025

@rustbot

r? @mati865

rustbot has assigned @mati865.
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

@rust-log-analyzer

This comment has been minimized.

@mati865

r=me with tidy addressed:
tidy [style (tests)]: /checkout/tests/ui/moves/arc-consumed-in-looped-closure.rs:27: trailing whitespace

@estebank

@rustbot

This PR was rebased onto a different main 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.

@estebank

@bors

📌 Commit c60ed21 has been approved by mati865

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Dec 11, 2025

JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request

Dec 11, 2025

@JonathanBrouwer

Do not suggest moving expression out of for loop when hitting break from desugaring

Fix rust-lang#149861.

bors added a commit that referenced this pull request

Dec 11, 2025

@bors

…uwer

Rollup of 10 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit that referenced this pull request

Dec 12, 2025

@bors

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit that referenced this pull request

Dec 12, 2025

@bors

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit that referenced this pull request

Dec 12, 2025

@rust-timer

Rollup merge of #149863 - estebank:issue-149861, r=mati865

Do not suggest moving expression out of for loop when hitting break from desugaring

Fix #149861.

github-actions bot pushed a commit to rust-lang/miri that referenced this pull request

Dec 13, 2025

@bors

Labels

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.