Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out ExpressionStore from Body #19036

Merged
merged 5 commits into from
Jan 27, 2025
Merged

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jan 26, 2025

Simple refactor that can be split out for the #7434 work

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 26, 2025
@Veykril Veykril force-pushed the push-nprltlwvryxw branch 2 times, most recently from b19aef2 to a3e1de1 Compare January 26, 2025 09:38
Comment on lines +932 to +935
// can't actually have generics currently, but they might in the future
// More importantly, this completes the set of items that contain type references
// which is to be used by the signature expression store in the future.
StaticId(StaticId),
Copy link
Member Author

Choose a reason for hiding this comment

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

Everything in this PR is basically just moving and renaming parts except for this. If we don't put static in here we'd need to create an entirely new id enum that is effectively GenericDefId but with Static. I don't feel like we gain anything from such a split and it should simplify the coming changes a bunch.

@Veykril Veykril added this pull request to the merge queue Jan 27, 2025
Merged via the queue into rust-lang:master with commit 35b55fd Jan 27, 2025
9 checks passed
@Veykril Veykril deleted the push-nprltlwvryxw branch January 27, 2025 08:17
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.

2 participants