Skip to content

rustc_errors: remove unused code - #160747

Merged
rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
mejrs:unused_impls
Aug 8, 2026
Merged

rustc_errors: remove unused code#160747
rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
mejrs:unused_impls

Conversation

@mejrs

@mejrs mejrs commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

@rustbot rustbot added 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 Aug 8, 2026
@GuillaumeGomez

Copy link
Copy Markdown
Member

Nice, thanks! r=me once CI pass

@rustbot

rustbot commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

rustc_error_messages was changed

cc @TaKO8Ki

@rustbot rustbot added the A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic label Aug 8, 2026
@mejrs

mejrs commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

@GuillaumeGomez i think I've found more :D

Let's see how ci feels about it.

@JonathanBrouwer JonathanBrouwer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diagnostic items were previously used for rustc internal lints which I removed, I forgot about them, oops. I think the impl was replaced by the DiagDecorator below
@bors r=GuillaumeGomez,JonathanBrouwer rollup

View changes since this review

@rust-bors

rust-bors Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 907d135 has been approved by GuillaumeGomez,JonathanBrouwer

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

rustc_errors: remove unused code

r? @GuillaumeGomez
rust-bors Bot pushed a commit that referenced this pull request Aug 8, 2026
…uwer

Rollup of 12 pull requests

Successful merges:

 - #160336 (Move attributes out of rustc_hir)
 - #160715 (ignore tests with the GCC backend if we can't find `libgccjit.so` for the target)
 - #157609 (fix: build-std on 32 bit arm with 64 bit time)
 - #160613 (Add regression test for unsized non-last struct field with overlapping impls)
 - #160658 (miri: implement more restrictive trivial-ABI checks)
 - #160704 (sort lint names in lint pass declarations)
 - #160707 (Add regression test for higher ranked fn pointer impl not general enough)
 - #160713 (Add regression test for #135287)
 - #160720 (triagebot: add ubiratan to infra-ci)
 - #160747 (rustc_errors: remove unused code)
 - #160751 (Add regression test for incremental borrowck ICE with generic const exprs)
 - #160753 (rustc_lint: remove unused rustc_attrs feature)

Failed merges:

 - #158835 (rustc_passes: lint unused `#[path]` attributes on inline modules)
@rust-bors
rust-bors Bot merged commit 8e0aaa4 into rust-lang:main Aug 8, 2026
13 checks passed
@rustbot rustbot added this to the 1.99.0 milestone Aug 8, 2026
rust-timer added a commit that referenced this pull request Aug 8, 2026
Rollup merge of #160747 - mejrs:unused_impls, r=GuillaumeGomez,JonathanBrouwer

rustc_errors: remove unused code

r? @GuillaumeGomez
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