Uh oh!
There was an error while loading. Please reload this page.
Hard code DEFAULT_LOCALE_RESOURCES in rustc_interface - #152137
Conversation
rustbot
commented
Feb 4, 2026
The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes. |
rustbot
commented
Feb 4, 2026
rustbot has assigned @jdonszelmann. Use |
This comment has been minimized.
This comment has been minimized.
8f3dce7 to
dbf46f0Compare| // Create a Parser. | ||
| let psess = ParseSess::new(rustc_driver::DEFAULT_LOCALE_RESOURCES.to_vec()); | ||
| let psess = ParseSess::new(vec![]); |
There was a problem hiding this comment.
I think this is fine as we cancel all errors below rather than emit them.
This comment has been minimized.
This comment has been minimized.
JonathanBrouwer
commented
Feb 4, 2026
I'd like to wait a few days with merging this until the spam of diagnostics convert PRs has calmed down, as this will conflict with all of them |
This comment has been minimized.
This comment has been minimized.
dbf46f0 to
1090fa4Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1090fa4 to
4d3c16aCompare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
locale_resources will no longer be used at all soon, so no need for custom drivers to have the ability to define their own locale_resources. Also hard code report_ice to not use any locale resources. It only emits diagnostics that have already been ported to inline fluent messages.
4d3c16a to
ed6914cComparerustbot
commented
Feb 6, 2026
Some changes occurred in src/tools/rustfmt cc @rust-lang/rustfmt |
rustbot
commented
Feb 6, 2026
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
rust-log-analyzer
commented
Feb 6, 2026
The job Click to see the possible cause of the failure (guessed by this bot) |
☔ The latest upstream changes (presumably #152239) made this pull request unmergeable. Please resolve the merge conflicts. |
r=me if you rebase and fix CI |
JonathanBrouwer
commented
Feb 8, 2026
This is now superseded by #152250 |
locale_resources will no longer be used at all soon, so no need for custom drivers to have the ability to define their own locale_resources. Also hard code report_ice to not use any locale resources. It only emits diagnostics that have already been ported to inline fluent messages.
Part of #151366, cc @JonathanBrouwer