Skip to content

Conversation

@JonathanBrouwer
Copy link
Contributor

Doing some cleanup work in preparation for rust-lang/compiler-team#959

r? @Kivooeo

@rustbot
Copy link
Collaborator

rustbot commented Jan 18, 2026

rustc_macros::diagnostics was changed

cc @davidtwco, @TaKO8Ki

@rustbot rustbot added 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. labels Jan 18, 2026
@Kivooeo
Copy link
Member

Kivooeo commented Jan 18, 2026

so basically this removes some checks for ftl files?

@JonathanBrouwer
Copy link
Contributor Author

This PR should not change observable behaviour.
The same is written twice for DiagnosticDerive and for LintDiagnosticDerive, this PR factors it into a method

@Kivooeo
Copy link
Member

Kivooeo commented Jan 18, 2026

ah, yeah i see it was duplicated, so now it's just a single method in DiagnosticDeriveVariantBuilder

Copy link
Member

@Kivooeo Kivooeo 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 when ci is green

here is some style nits, if you like some of those you could apply them, otherwise feel free to ignore

View changes since this review

@rust-log-analyzer

This comment has been minimized.

@JonathanBrouwer
Copy link
Contributor Author

@bors r=Kivooeo rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 19, 2026

📌 Commit 7ec4a8e has been approved by Kivooeo

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Jan 19, 2026
rust-bors bot pushed a commit that referenced this pull request Jan 19, 2026
…uwer

Rollup of 4 pull requests

Successful merges:

 - #151071 (Generate openmp metadata)
 - #151302 (add lint test)
 - #151338 (Factor out diagnostic slug checking from `DiagnosticDerive` )
 - #151354 (ci: Move lockfile updates to a script)

r? @ghost
@rust-bors rust-bors bot merged commit d2375c2 into rust-lang:main Jan 19, 2026
11 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Jan 19, 2026
rust-timer added a commit that referenced this pull request Jan 19, 2026
Rollup merge of #151338 - factor_slug, r=Kivooeo

Factor out diagnostic slug checking from `DiagnosticDerive`

Doing some cleanup work in preparation for rust-lang/compiler-team#959

r? @Kivooeo
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Jan 20, 2026
…uwer

Rollup of 4 pull requests

Successful merges:

 - rust-lang/rust#151071 (Generate openmp metadata)
 - rust-lang/rust#151302 (add lint test)
 - rust-lang/rust#151338 (Factor out diagnostic slug checking from `DiagnosticDerive` )
 - rust-lang/rust#151354 (ci: Move lockfile updates to a script)

r? @ghost
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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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