Skip to content

Move query-stack-frame spans into QueryStackFrame#153998

Open
Zalathar wants to merge 1 commit intorust-lang:mainfrom
Zalathar:stack-frame
Open

Move query-stack-frame spans into QueryStackFrame#153998
Zalathar wants to merge 1 commit intorust-lang:mainfrom
Zalathar:stack-frame

Conversation

@Zalathar
Copy link
Member


Code that previously used QueryStackFrame now uses TaggedQueryKey directly.

Code that previously used Spanned<QueryStackFrame> now uses QueryStackFrame, which includes a span.

This ends up bringing QueryStackFrame closer to the expectations of the code that actually consumes query cycles, and also avoids the awkward and misleading respan calls and node field accesses that had been required by Spanned.

r? nnethercote

Code that previously used `QueryStackFrame` now uses `TaggedQueryKey`.

Code that previously used `Spanned<QueryStackFrame>` now uses `QueryStackFrame`.
@rustbot rustbot added A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 17, 2026
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-review Status: Awaiting review from the assignee but also interested parties. 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.

3 participants