Skip to content

Conversation

@chenyukang
Copy link
Member

@chenyukang chenyukang commented Oct 10, 2025

Fixes #147542

@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 Oct 10, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 10, 2025

r? @jackh726

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

@jackh726 jackh726 left a comment

Choose a reason for hiding this comment

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

r=me, but please add a comment to the test on what it's testing (also, is there not a better spot than just in tests/ui/lint?

View changes since this review

@chenyukang chenyukang force-pushed the yukang-fix-break-label-147542 branch from c5f410e to d658bcf Compare October 14, 2025 04:33
@chenyukang
Copy link
Member Author

Added comment and moved test to tests/ui/lint/unused.

@bors r=jackh726

@bors
Copy link
Collaborator

bors commented Oct 14, 2025

📌 Commit d658bcf has been approved by jackh726

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 Oct 14, 2025
bors added a commit that referenced this pull request Oct 14, 2025
Rollup of 12 pull requests

Successful merges:

 - #146277 (Enable `u64` limbs in `core::num::bignum`)
 - #146976 (constify basic Clone impls)
 - #147249 (Do two passes of `handle_opaque_type_uses_next`)
 - #147266 (fix 2 search graph bugs)
 - #147497 (`proc_macro` cleanups (3/N))
 - #147546 (Suppress unused_parens for labeled break)
 - #147548 (Fix ICE for never pattern as closure parameters)
 - #147594 (std: implement `pal::os::exit` for VEXos)
 - #147596 (Adjust the Arm targets in CI to reflect latest changes)
 - #147607 (GVN: Invalidate derefs at loop headers)
 - #147620 (Avoid redundant UB check in RangeFrom slice indexing)
 - #147647 (Hide vendoring and copyright in GHA group)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit a49246a into rust-lang:master Oct 14, 2025
10 checks passed
@rustbot rustbot added this to the 1.92.0 milestone Oct 14, 2025
rust-timer added a commit that referenced this pull request Oct 14, 2025
Rollup merge of #147546 - chenyukang:yukang-fix-break-label-147542, r=jackh726

Suppress unused_parens for labeled break

Fixes #147542
@Zalathar
Copy link
Member

Bors hasn't noticed that this was merged.

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 15, 2025
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Nov 30, 2025
Rollup of 12 pull requests

Successful merges:

 - rust-lang#146277 (Enable `u64` limbs in `core::num::bignum`)
 - rust-lang#146976 (constify basic Clone impls)
 - rust-lang#147249 (Do two passes of `handle_opaque_type_uses_next`)
 - rust-lang#147266 (fix 2 search graph bugs)
 - rust-lang#147497 (`proc_macro` cleanups (3/N))
 - rust-lang#147546 (Suppress unused_parens for labeled break)
 - rust-lang#147548 (Fix ICE for never pattern as closure parameters)
 - rust-lang#147594 (std: implement `pal::os::exit` for VEXos)
 - rust-lang#147596 (Adjust the Arm targets in CI to reflect latest changes)
 - rust-lang#147607 (GVN: Invalidate derefs at loop headers)
 - rust-lang#147620 (Avoid redundant UB check in RangeFrom slice indexing)
 - rust-lang#147647 (Hide vendoring and copyright in GHA group)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Labeled break lint collides with unused parens lint

5 participants