Skip to content

Don't remove inner attributes from loop, for and while expressions#6010

Open
ytmimi wants to merge 1 commit intorust-lang:mainfrom
ytmimi:issue_5973
Open

Don't remove inner attributes from loop, for and while expressions#6010
ytmimi wants to merge 1 commit intorust-lang:mainfrom
ytmimi:issue_5973

Conversation

@ytmimi
Copy link
Contributor

@ytmimi ytmimi commented Jan 6, 2024

Fixes #5973

The attribute docs in the rust reference explain that inner attributes are allowed in block expressions.

Fixes 5973

The [attribute] docs in the rust reference explain that inner
attributes are allowed in block expressions.

[attribute]: https://doc.rust-lang.org/reference/attributes.html
@jieyouxu jieyouxu added S-waiting-on-review Status: awaiting review from the assignee but also interested parties. and removed pr-not-reviewed labels Feb 23, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 13, 2026

☔ The latest upstream changes (possibly #6823) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rustfmt remove attribute

3 participants