Skip to content

Rename entered trace span variables from _span to _trace#145249

Merged
bors merged 1 commit intorust-lang:masterfrom
Stypox:_span-to-_trace
Aug 12, 2025
Merged

Rename entered trace span variables from _span to _trace#145249
bors merged 1 commit intorust-lang:masterfrom
Stypox:_span-to-_trace

Conversation

@Stypox
Copy link
Contributor

@Stypox Stypox commented Aug 11, 2025

This PR just changes the name of EnteredTraceSpan variables used to automatically close tracing spans when going out of scope. This renaming was needed because _span could possibly be confused with the Span type in rustc, so I used _trace as suggested in #144727 (comment).

r? @RalfJung

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

Labels

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