Skip to content

Post needless_continue diagnostic on the right node#16265

Merged
dswij merged 1 commit intorust-lang:masterfrom
samueltardieu:issues/16256
Jan 16, 2026
Merged

Post needless_continue diagnostic on the right node#16265
dswij merged 1 commit intorust-lang:masterfrom
samueltardieu:issues/16256

Conversation

@samueltardieu
Copy link
Member

@samueltardieu samueltardieu commented Dec 19, 2025

changelog: [needless_continue]: allow and expect attributes can also be used on the statement triggering the lint instead of only the whole loop.

Fixes #16256

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Dec 19, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 19, 2025

r? @dswij

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

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.

@dswij dswij added this pull request to the merge queue Jan 16, 2026
Merged via the queue into rust-lang:master with commit 73d05dd Jan 16, 2026
11 of 13 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jan 16, 2026
@samueltardieu samueltardieu deleted the issues/16256 branch January 16, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconvenient suppressing of the needless_continue lint

3 participants