Skip to content

Conversation

HKalbasi
Copy link
Member

@HKalbasi HKalbasi commented Sep 8, 2023

I hope this reduces mir memory usage.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 8, 2023
@HKalbasi
Copy link
Member Author

HKalbasi commented Sep 8, 2023

@bors r+

@bors
Copy link
Contributor

bors commented Sep 8, 2023

📌 Commit 9708a29 has been approved by HKalbasi

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 8, 2023

⌛ Testing commit 9708a29 with merge 548d2f0...

@bors
Copy link
Contributor

bors commented Sep 8, 2023

☀️ Test successful - checks-actions
Approved by: HKalbasi
Pushing 548d2f0 to master...

@bors bors merged commit 548d2f0 into rust-lang:master Sep 8, 2023
@Veykril
Copy link
Member

Veykril commented Sep 8, 2023

~60mb down on self 🎉

@lnicola lnicola changed the title Intern projections in mir place internal: Intern projections in mir place Sep 9, 2023
bors added a commit that referenced this pull request Oct 14, 2023
make mir::ProjectionStore-impls pub-accessible

When using RA as a crate the `mir::Place` `projection` is accessible, however there is no way to translate the `ProjectionId` to a `&[PlaceElem]`, as the `ProjectionId::lookup` is private.

Personally, I would only need the `ProjectionId::lookup`-fn to be `pub`, but I don't see any reason why the others should be kept private.. am I missing something `@HKalbasi` ?

Relates to: #15575
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