-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Decide on path forward for attributes on expressions #127436
Copy link
Copy link
Open
Labels
C-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.F-stmt_expr_attributes`#![feature(stmt_expr_attributes)]``#![feature(stmt_expr_attributes)]`I-lang-radarItems that are on lang's radar and will need eventual work or consideration.Items that are on lang's radar and will need eventual work or consideration.S-waiting-on-concernsStatus: Awaiting concerns to be addressed by the authorStatus: Awaiting concerns to be addressed by the authorT-langRelevant to the language teamRelevant to the language teamdisposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
Metadata
Metadata
Assignees
Labels
C-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.F-stmt_expr_attributes`#![feature(stmt_expr_attributes)]``#![feature(stmt_expr_attributes)]`I-lang-radarItems that are on lang's radar and will need eventual work or consideration.Items that are on lang's radar and will need eventual work or consideration.S-waiting-on-concernsStatus: Awaiting concerns to be addressed by the authorStatus: Awaiting concerns to be addressed by the authorT-langRelevant to the language teamRelevant to the language teamdisposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Long ago, we adopted rust-lang/rfcs#16 ("attributes on statements and blocks"). However, it's long been blocked despite the known and compelling use cases for this.
Over in the tracking issue, #15701, @WaffleLapkin explains the nature of what is blocking this and proposes a path forward:
Let's nominate this for discussion so we can decide whether we can unblock this by adopting that proposal.
This may have relevance for whether libs-api would feel the need to stabilize this:
@rustbot labels +I-lang-nominated +T-lang +C-discussion
cc @rust-lang/lang @WaffleLapkin
Tracking: