Skip to content

Skip locking span interner for some syntax context checks - #128197

Merged
bors merged 1 commit into
rust-lang:masterfrom
Alexendoo:span-ctxt
Nov 15, 2024
Merged

Skip locking span interner for some syntax context checks#128197
bors merged 1 commit into
rust-lang:masterfrom
Alexendoo:span-ctxt

Conversation

@Alexendoo

Copy link
Copy Markdown
Member
  • from_expansion now never needs to consult the interner
  • eq_ctxt now only needs the interner when both spans are fully interned

@rustbot

Copy link
Copy Markdown
Collaborator

r? @davidtwco

rustbot has assigned @davidtwco.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbotrustbot added 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 Jul 25, 2024
Comment threadcompiler/rustc_span/src/span_encoding.rs Outdated

@davidtwcodavidtwco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Apologies that this was left waiting so long, this slipped through the cracks, thanks for making that change.

@davidtwco

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Nov 14, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit ad3f3c7 has been approved by davidtwco

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 14, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 14, 2024
…iaskrgr
Rollup of 4 pull requests
Successful merges:
- rust-lang#128197 (Skip locking span interner for some syntax context checks)
- rust-lang#133040 ([rustdoc] Fix handling of footnote reference in footnote definition)
- rust-lang#133043 (rustdoc-search: case-sensitive only when capitals are used)
- rust-lang#133046 (Clippy subtree update)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit e158303 into rust-lang:masterNov 15, 2024
@rustbotrustbot added this to the 1.84.0 milestone Nov 15, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 15, 2024
Rollup merge of rust-lang#128197 - Alexendoo:span-ctxt, r=davidtwco
Skip locking span interner for some syntax context checks
- `from_expansion` now never needs to consult the interner
- `eq_ctxt` now only needs the interner when both spans are fully interned
@Alexendoo
Alexendoo deleted the span-ctxt branch November 15, 2024 19:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant 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.

4 participants

@Alexendoo@rustbot@davidtwco@bors