Skip to content

Rust: Refactor type equality #19624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paldepind
Copy link
Contributor

@paldepind paldepind commented May 29, 2025

After a recent optimization to the type path operations the type equality over referencing/borrows had to be duplicated twice. This PR changes the meaning of typeEquality such that the two paths are just the prefix under which all types are equal. This simplifies things a bit and removes the need for having borrow twice.

@github-actions github-actions bot added the Rust Pull requests that update Rust code label May 29, 2025
@paldepind paldepind force-pushed the type-inference-experiment branch from ac12aa5 to 08277e4 Compare May 29, 2025 14:07
@paldepind paldepind marked this pull request as ready for review May 30, 2025 07:38
@paldepind paldepind requested a review from a team as a code owner May 30, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant