Skip to content

perf: Do not intern AdtDef#22187

Merged
ChayimFriedman2 merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:adt-def
Apr 29, 2026
Merged

perf: Do not intern AdtDef#22187
ChayimFriedman2 merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:adt-def

Conversation

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

rustc uses this struct to store all information about an ADT, but we have other types and are mainly using it for the solver. So store only the information we need.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 26, 2026
Comment thread crates/hir-def/src/attrs.rs
@Veykril Veykril added this pull request to the merge queue Apr 29, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 29, 2026
rustc uses this struct to store all information about an ADT, but we have other types and are mainly using it for the solver. So store only the information we need.
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 29, 2026

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue Apr 29, 2026
Merged via the queue into rust-lang:master with commit 8534be9 Apr 29, 2026
18 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the adt-def branch April 29, 2026 15:43
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants