Skip to content

fix: Fix SyntaxContext::roots technically overlapping valid interneds#21566

Merged
Veykril merged 1 commit into
rust-lang:masterfrom
Veykril:push-rvmyysvknmyk
May 25, 2026
Merged

fix: Fix SyntaxContext::roots technically overlapping valid interneds#21566
Veykril merged 1 commit into
rust-lang:masterfrom
Veykril:push-rvmyysvknmyk

Conversation

@Veykril

@Veykril Veykril commented Feb 2, 2026

Copy link
Copy Markdown
Member

I don't think we can hit this in practice, but better safe than sorry.

The more interesting part of this PR is that we are now hiding all functions that inspect the root encoding from the non-salsa interface, this is to prevent the proc-macro server from accidentally relying on this as that would mean changing the encoding will break it.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 2, 2026
@Veykril Veykril force-pushed the push-rvmyysvknmyk branch 8 times, most recently from 58642b8 to 387d026 Compare February 7, 2026 12:29
@rustbot

This comment has been minimized.

@Veykril Veykril force-pushed the push-rvmyysvknmyk branch from 387d026 to 5f59f28 Compare May 25, 2026 08:56
@rustbot

rustbot commented May 25, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@Veykril Veykril force-pushed the push-rvmyysvknmyk branch 2 times, most recently from 55e4e02 to 4530db9 Compare May 25, 2026 09:05
@Veykril Veykril enabled auto-merge May 25, 2026 09:09
@Veykril Veykril force-pushed the push-rvmyysvknmyk branch from 4530db9 to 97ad069 Compare May 25, 2026 10:59
@Veykril Veykril force-pushed the push-rvmyysvknmyk branch from 97ad069 to 38ff036 Compare May 25, 2026 11:06
@Veykril Veykril added this pull request to the merge queue May 25, 2026
Merged via the queue into rust-lang:master with commit 9acc026 May 25, 2026
18 checks passed
@Veykril Veykril deleted the push-rvmyysvknmyk branch May 25, 2026 11:25
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 25, 2026
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.

2 participants