Skip to content

Use the target checking infrastructure for the diagnostic attributes#158178

Open
JonathanBrouwer wants to merge 2 commits into
rust-lang:mainfrom
JonathanBrouwer:diag_target
Open

Use the target checking infrastructure for the diagnostic attributes#158178
JonathanBrouwer wants to merge 2 commits into
rust-lang:mainfrom
JonathanBrouwer:diag_target

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Contributor

The goal of this is a few things:

  • Make the diagnostic attributes' target checking cleaner and more declarative, making it harder to make mistakes here
  • Make progress towards removing the ALL_TARGETS list

r? @mejrs

@rustbot

rustbot commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred to diagnostic attributes.

cc @mejrs

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) 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 Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants