Skip to content

Remove support for slugs in diagnostic messages#152250

Merged
rust-bors[bot] merged 5 commits intorust-lang:mainfrom
JonathanBrouwer:convert_finish
Feb 8, 2026
Merged

Remove support for slugs in diagnostic messages#152250
rust-bors[bot] merged 5 commits intorust-lang:mainfrom
JonathanBrouwer:convert_finish

Conversation

@JonathanBrouwer
Copy link
Contributor

@JonathanBrouwer JonathanBrouwer commented Feb 6, 2026

This PR contains 5 commits, and is best reviewed commit-by-commit:

  • ea87331 Removes support from slugs from rustc_errors
  • 62dd371 Removes support from slugs from rustc_macros (which declares derive(Diagnostic))
  • 2289e6c Adjuist the ui-fulldeps testsuite to match the changes in rustc_macros
  • 0db0acd Removes support for the fallback bundle (which previously contained all messages, but is now empty) from rustc_driver_impl and rustc_session
  • 81d4214 Removes an integration test that tested the translation system using fluent

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-run-make Area: port run-make Makefiles to rmake.rs A-tidy Area: The tidy tool 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-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Feb 6, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@rust-bors

This comment has been minimized.

@JonathanBrouwer JonathanBrouwer changed the title Cleanup after removing all fluent files Remove support for slugs in diagnostic messages Feb 8, 2026
@JonathanBrouwer JonathanBrouwer marked this pull request as ready for review February 8, 2026 10:20
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 8, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 8, 2026

rustc_macros::diagnostics was changed

cc @davidtwco, @TaKO8Ki

rustc_errors::translation was changed

cc @davidtwco, @TaKO8Ki

rustc_error_messages 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 Feb 8, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 8, 2026

r? @fmease

rustbot has assigned @fmease.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 21 candidates
  • Random selection from 11 candidates

@JonathanBrouwer
Copy link
Contributor Author

JonathanBrouwer commented Feb 8, 2026

r? @jdonszelmann
(Anyone else, also feel free to review, just assigning to Jana because she's been reviewing the other PRs)

@rustbot rustbot assigned jdonszelmann and unassigned fmease Feb 8, 2026
@jdonszelmann
Copy link
Contributor

@bors r+

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 8, 2026

📌 Commit 81d4214 has been approved by jdonszelmann

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 Feb 8, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 8, 2026
…jdonszelmann

Remove support for slugs in diagnostic messages

This PR contains 5 commits, and is best reviewed commit-by-commit:
- rust-lang@ea87331 Removes support from slugs from `rustc_errors`
- rust-lang@62dd371 Removes support from slugs from `rustc_macros` (which declares `derive(Diagnostic)`)
- rust-lang@2289e6c Adjuist the `ui-fulldeps` testsuite to match the changes in `rustc_macros`
- rust-lang@0db0acd Removes support for the fallback bundle (which previously contained all messages, but is now empty) from `rustc_driver_impl` and `rustc_session`
- rust-lang@81d4214 Removes an integration test that tested the translation system using fluent
rust-bors bot pushed a commit that referenced this pull request Feb 8, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #151455 (Fix `SourceFile::normalized_byte_pos`)
 - #152250 (Remove support for slugs in diagnostic messages)
 - #152322 (Replace some `feature(core_intrinsics)` with stable hints)
 - #152328 (Fix a few diagnostics)
 - #151640 (Cleanup offload datatransfer)
 - #152212 (Port some attributes to the attr parser)
 - #152309 (Fix bound var resolution for trait aliases)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 8, 2026
…jdonszelmann

Remove support for slugs in diagnostic messages

This PR contains 5 commits, and is best reviewed commit-by-commit:
- rust-lang@ea87331 Removes support from slugs from `rustc_errors`
- rust-lang@62dd371 Removes support from slugs from `rustc_macros` (which declares `derive(Diagnostic)`)
- rust-lang@2289e6c Adjuist the `ui-fulldeps` testsuite to match the changes in `rustc_macros`
- rust-lang@0db0acd Removes support for the fallback bundle (which previously contained all messages, but is now empty) from `rustc_driver_impl` and `rustc_session`
- rust-lang@81d4214 Removes an integration test that tested the translation system using fluent
rust-bors bot pushed a commit that referenced this pull request Feb 8, 2026
…uwer

Rollup of 8 pull requests

Successful merges:

 - #151455 (Fix `SourceFile::normalized_byte_pos`)
 - #152250 (Remove support for slugs in diagnostic messages)
 - #152322 (Replace some `feature(core_intrinsics)` with stable hints)
 - #151640 (Cleanup offload datatransfer)
 - #152212 (Port some attributes to the attr parser)
 - #152309 (Fix bound var resolution for trait aliases)
 - #152339 (diagnostics: fix ICE in closure signature mismatch)
 - #152341 (`cfg_select!`: allow optional comma after `{ /* ... */ }`)
rust-bors bot pushed a commit that referenced this pull request Feb 8, 2026
…uwer

Rollup of 9 pull requests

Successful merges:

 - #151455 (Fix `SourceFile::normalized_byte_pos`)
 - #152250 (Remove support for slugs in diagnostic messages)
 - #152322 (Replace some `feature(core_intrinsics)` with stable hints)
 - #152328 (Fix a few diagnostics)
 - #151640 (Cleanup offload datatransfer)
 - #152212 (Port some attributes to the attr parser)
 - #152309 (Fix bound var resolution for trait aliases)
 - #152339 (diagnostics: fix ICE in closure signature mismatch)
 - #152341 (`cfg_select!`: allow optional comma after `{ /* ... */ }`)
@bjorn3
Copy link
Member

bjorn3 commented Feb 8, 2026

This is missing the rustc-dev-guide changes from #152137.

@JonathanBrouwer
Copy link
Contributor Author

JonathanBrouwer commented Feb 8, 2026

Good spot, I'll commit those directly to the rustc-dev-guide, thanks!
Edit: rust-lang/rustc-dev-guide#2769

@rust-bors rust-bors bot merged commit 7fbde8b into rust-lang:main Feb 8, 2026
11 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Feb 8, 2026
rust-timer added a commit that referenced this pull request Feb 8, 2026
Rollup merge of #152250 - JonathanBrouwer:convert_finish, r=jdonszelmann

Remove support for slugs in diagnostic messages

This PR contains 5 commits, and is best reviewed commit-by-commit:
- ea87331 Removes support from slugs from `rustc_errors`
- 62dd371 Removes support from slugs from `rustc_macros` (which declares `derive(Diagnostic)`)
- 2289e6c Adjuist the `ui-fulldeps` testsuite to match the changes in `rustc_macros`
- 0db0acd Removes support for the fallback bundle (which previously contained all messages, but is now empty) from `rustc_driver_impl` and `rustc_session`
- 81d4214 Removes an integration test that tested the translation system using fluent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-run-make Area: port run-make Makefiles to rmake.rs A-tidy Area: The tidy tool 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-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants