Skip to content

Record expressions in types in ExprScope - #22861

Merged
Veykril merged 1 commit into
rust-lang:masterfrom
Veykril:lukaswirth/push-ksslunmzoxpt
Jul 19, 2026
Merged

Record expressions in types in ExprScope#22861
Veykril merged 1 commit into
rust-lang:masterfrom
Veykril:lukaswirth/push-ksslunmzoxpt

Conversation

@Veykril

@Veykril Veykril commented Jul 19, 2026

Copy link
Copy Markdown
Member

No description provided.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 19, 2026
@Veykril

Veykril commented Jul 19, 2026

Copy link
Copy Markdown
Member Author

We might port this over to the visitor infra fully

}

fn on_type(&mut self, ty: TypeRefId) {
self.store.visit_type_ref_children(ty, &mut *self);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should call compute_type_scope().

And yes I agree that it makes sense to only use the visitor infra.

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