Hard code the error code registry for custom drivers#152140
Merged
rust-bors[bot] merged 2 commits intorust-lang:mainfrom Feb 6, 2026
Merged
Hard code the error code registry for custom drivers#152140rust-bors[bot] merged 2 commits intorust-lang:mainfrom
rust-bors[bot] merged 2 commits intorust-lang:mainfrom
Conversation
Collaborator
|
cc @Muscraft
cc @Muscraft 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. cc @BoxyUwU, @jieyouxu, @Kobzol, @tshepang Some changes occurred in src/tools/rustfmt cc @rust-lang/rustfmt |
Collaborator
|
rustbot has assigned @jdonszelmann. Use |
This comment has been minimized.
This comment has been minimized.
c6eefea to
7a13511
Compare
This comment has been minimized.
This comment has been minimized.
7a13511 to
2f124a3
Compare
This comment has been minimized.
This comment has been minimized.
2f124a3 to
b73fe09
Compare
This comment has been minimized.
This comment has been minimized.
And move try_find_description to rustc_errors::codes.
b73fe09 to
639cb69
Compare
Contributor
|
@bors r+ rollup |
Contributor
rust-bors bot
pushed a commit
that referenced
this pull request
Feb 6, 2026
…uwer Rollup of 13 pull requests Successful merges: - #152191 (Convert to inline diagnostics in `rustc_hir_analysis`) - #149329 (Mark match arms in try and for as being from desugarings.) - #151474 (Minor structural improvements) - #152107 (Convert to inline diagnostics in `rustc_borrowck`) - #152117 (Convert to inline diagnostics in `rustc_trait_selection`) - #152136 (Consolidate type const checks on `tcx.is_type_const`) - #152140 (Hard code the error code registry for custom drivers) - #152155 (Fix typos in riscv64a23-unknown-linux-gnu.md) - #152170 (Port `rustc_effective_visibility` to the new attribute parser) - #152182 (update compiler stable backport zulip msg) - #152184 (Port rustc_abi to the attribute parser) - #152195 (update openmp/offload builds to LLVM 22, Part 1) - #152202 (chore: clearify tidy's error message) Failed merges: - #151744 (fix refining_impl_trait suggestion with return_type_notation) - #152212 (Port some attributes to the attr parser)
rust-timer
added a commit
that referenced
this pull request
Feb 6, 2026
Rollup merge of #152140 - bjorn3:driver_fixed_error_codes, r=jdonszelmann Hard code the error code registry for custom drivers And do some cleanups enabled by this.
github-actions bot
pushed a commit
to rust-lang/rustc-dev-guide
that referenced
this pull request
Feb 16, 2026
…uwer Rollup of 13 pull requests Successful merges: - rust-lang/rust#152191 (Convert to inline diagnostics in `rustc_hir_analysis`) - rust-lang/rust#149329 (Mark match arms in try and for as being from desugarings.) - rust-lang/rust#151474 (Minor structural improvements) - rust-lang/rust#152107 (Convert to inline diagnostics in `rustc_borrowck`) - rust-lang/rust#152117 (Convert to inline diagnostics in `rustc_trait_selection`) - rust-lang/rust#152136 (Consolidate type const checks on `tcx.is_type_const`) - rust-lang/rust#152140 (Hard code the error code registry for custom drivers) - rust-lang/rust#152155 (Fix typos in riscv64a23-unknown-linux-gnu.md) - rust-lang/rust#152170 (Port `rustc_effective_visibility` to the new attribute parser) - rust-lang/rust#152182 (update compiler stable backport zulip msg) - rust-lang/rust#152184 (Port rustc_abi to the attribute parser) - rust-lang/rust#152195 (update openmp/offload builds to LLVM 22, Part 1) - rust-lang/rust#152202 (chore: clearify tidy's error message) Failed merges: - rust-lang/rust#151744 (fix refining_impl_trait suggestion with return_type_notation) - rust-lang/rust#152212 (Port some attributes to the attr parser)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
And do some cleanups enabled by this.