Skip to content

Conversation

@JonathanBrouwer
Copy link
Contributor

@JonathanBrouwer JonathanBrouwer commented Jan 25, 2026

This PR does a lot of refactoring on the implementation of #[derive(Diagnostic)]. It should have no observable effect other than error messages for incorrect usage of the attributes. In general, I think the error messages got better.

This PR can be reviewed commit by commit, each commit passes the tests.

r? @Kivooeo
(Thanks for reviewing my PRs so far :3)

@rustbot rustbot added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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. labels Jan 25, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@JonathanBrouwer JonathanBrouwer marked this pull request as ready for review January 28, 2026 21:38
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 28, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 28, 2026

rustc_macros::diagnostics was changed

cc @davidtwco, @TaKO8Ki

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jan 28, 2026
@Kivooeo
Copy link
Member

Kivooeo commented Jan 28, 2026

rustc_macros::diagnostics was changed

cc davidtwco, TaKO8Ki

hm, do we still need this notification?

In general, I think the error messages got better

yep, i think so too

Thanks for reviewing my PRs so far

i'll take a closer look tomorrow, but i'm pretty sure that's all fine <3

@JonathanBrouwer
Copy link
Contributor Author

JonathanBrouwer commented Jan 28, 2026

hm, do we still need this notification?

Afaik these notifications are for people who want to know if certain directories change, whether it is needed is mostly for them to decide. There is no further expectations such as waiting for their review. Actually just added myself to the list, cause I'm now also interested in changes of these files #151800

@Kivooeo
Copy link
Member

Kivooeo commented Jan 28, 2026

Actually just added myself to the list

oh, that's nice, thanks for keeping an eye on it

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

Labels

A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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.

4 participants