Skip to content

Hard code the error code registry for custom drivers#152140

Open
bjorn3 wants to merge 2 commits intorust-lang:mainfrom
bjorn3:driver_fixed_error_codes
Open

Hard code the error code registry for custom drivers#152140
bjorn3 wants to merge 2 commits intorust-lang:mainfrom
bjorn3:driver_fixed_error_codes

Conversation

@bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Feb 4, 2026

And do some cleanups enabled by this.

@rustbot
Copy link
Collaborator

rustbot commented Feb 4, 2026

rustc_errors::annotate_snippet_emitter_writer was changed

cc @Muscraft

rustc_errors::emitter was changed

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

@rustbot rustbot added A-rustc-dev-guide Area: rustc-dev-guide 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 Feb 4, 2026
@rustbot rustbot added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. labels Feb 4, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 4, 2026

r? @jdonszelmann

rustbot has assigned @jdonszelmann.
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

@rust-log-analyzer

This comment has been minimized.

@bjorn3 bjorn3 force-pushed the driver_fixed_error_codes branch 2 times, most recently from c6eefea to 7a13511 Compare February 4, 2026 20:45
@rust-log-analyzer

This comment has been minimized.

@bjorn3 bjorn3 force-pushed the driver_fixed_error_codes branch from 7a13511 to 2f124a3 Compare February 4, 2026 21:21
@rust-log-analyzer

This comment has been minimized.

@bjorn3 bjorn3 force-pushed the driver_fixed_error_codes branch from 2f124a3 to b73fe09 Compare February 5, 2026 10:00
@rust-log-analyzer

This comment has been minimized.

And move try_find_description to rustc_errors::codes.
@bjorn3 bjorn3 force-pushed the driver_fixed_error_codes branch from b73fe09 to 639cb69 Compare February 5, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustc-dev-guide Area: rustc-dev-guide 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt 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