Skip to content

Streamline QueryVTableUnerased into GetQueryVTable#152841

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Zalathar:unerased
Feb 24, 2026
Merged

Streamline QueryVTableUnerased into GetQueryVTable#152841
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Zalathar:unerased

Conversation

@Zalathar
Copy link
Copy Markdown
Member

@Zalathar Zalathar commented Feb 19, 2026

View all comments

QueryDispatcherUnerased is an awkward name for an awkward trait.

We can make it a bit more straightforward by removing its responsibility for erasing query values, and by observing that its only real responsibility beyond that is to know how to obtain the vtable for a particlar query from tcx.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants