Skip to content

Conversation

@davidbarsky
Copy link
Contributor

As discussed on Zulip, the hir-* changes in #19001 make rebasing #18964 difficult because new Salsa switches DefWithBodyId a #[salsa::supertype]. Since FieldId was added as a variant to DefWithBodyId, FieldId would need to become either Salsa struct, or DefWithBodyId would need to stop being a #[salsa::supertype], both of which would regress memory usage.

Given that we'll be redoing large parts of hir-* anyways, it made more sense to revert everything but the parser changes.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 28, 2025
@davidbarsky davidbarsky marked this pull request as ready for review January 28, 2025 16:16
@Veykril Veykril enabled auto-merge January 28, 2025 16:17
@Veykril Veykril disabled auto-merge January 28, 2025 16:18
@davidbarsky
Copy link
Contributor Author

I'll merge this once I rewrite the last commit to give authorship credit to @ShoyuVanilla.

@davidbarsky davidbarsky force-pushed the davidbarsky/backout-struct-default-fields branch from 3e6ad8f to 461ee09 Compare January 28, 2025 16:31
@davidbarsky davidbarsky added this pull request to the merge queue Jan 28, 2025
Merged via the queue into rust-lang:master with commit bc10a44 Jan 28, 2025
9 checks passed
@davidbarsky davidbarsky deleted the davidbarsky/backout-struct-default-fields branch January 28, 2025 17:00
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants