Skip to content

Couple of diagnostics improvements for EII#156923

Open
bjorn3 wants to merge 2 commits into
rust-lang:mainfrom
bjorn3:eii_diagnostics
Open

Couple of diagnostics improvements for EII#156923
bjorn3 wants to merge 2 commits into
rust-lang:mainfrom
bjorn3:eii_diagnostics

Conversation

@bjorn3
Copy link
Copy Markdown
Member

@bjorn3 bjorn3 commented May 25, 2026

I found these while porting #[panic_handler] to EII.

r? @jdonszelmann

@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 May 25, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 25, 2026

jdonszelmann is currently at their maximum review capacity.
They may take a while to respond.

@rust-log-analyzer

This comment has been minimized.

@bjorn3 bjorn3 force-pushed the eii_diagnostics branch from 68b6a99 to b884652 Compare May 25, 2026 15:06
bjorn3 added 2 commits May 25, 2026 17:13
An EII declaration should not result in a crate not being considered
unused. A crate which defines an EII will only get removed from the
crate graph if the implementation also gets removed. This is not the
case in the opposite way, which is why crates containing EII
implementations are not considered unused.
This matches the error message for missing #[panic_handler].
@bjorn3 bjorn3 force-pushed the eii_diagnostics branch from b884652 to 7edaa34 Compare May 25, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants