Skip to content

Implement Debug for C-like enums with a concatenated string#155452

Open
makai410 wants to merge 1 commit intorust-lang:mainfrom
makai410:enum-debug-array
Open

Implement Debug for C-like enums with a concatenated string#155452
makai410 wants to merge 1 commit intorust-lang:mainfrom
makai410:enum-debug-array

Conversation

@makai410
Copy link
Copy Markdown
Member

@makai410 makai410 commented Apr 17, 2026

Fixes: #114106 #133945

Related to: #88793

Continuation of: #109615 #114190

r? @ghost (I want to see the perf first)

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 17, 2026

Changes to the code generated for builtin derived traits.

cc @nnethercote

@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 Apr 17, 2026
@makai410
Copy link
Copy Markdown
Member Author

@bors try @rust-timer queue

@rust-timer
Copy link
Copy Markdown
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 17, 2026

⌛ Trying commit bf398d3 with merge 5a131e3

To cancel the try build, run the command @bors try cancel.

Workflow: https://github.com/rust-lang/rust/actions/runs/24591287648

rust-bors bot pushed a commit that referenced this pull request Apr 17, 2026
Implement `Debug` for C-like enums with a concatenated string
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-perf Status: Waiting on a perf run to be completed. 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.

Poor codegen for Debug impls of C-like enums with many variants

3 participants