Skip to content

fix: Fix a bug in orphan rules calculation #19466

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

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

ChayimFriedman2
Copy link
Contributor

Where a fundamental type applied twice wasn't considered local.

We're going to get a full coherence checker for free with the next trait solver, so I don't want to invest in completing the current check, but this fix is simple enough and it can cause annoying red squiggles.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 27, 2025
Copy link
Contributor

@davidbarsky davidbarsky left a comment

Choose a reason for hiding this comment

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

approved, but want to have a comment here. it took me a few seconds to understand what was happening here.

Where a fundamental type applied twice wasn't considered local.
@davidbarsky davidbarsky added this pull request to the merge queue Mar 28, 2025
Merged via the queue into rust-lang:master with commit 11c9c4d Mar 28, 2025
10 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the bug-coherence branch March 28, 2025 03:47
@Veykril
Copy link
Member

Veykril commented Mar 28, 2025

We're going to get a full coherence checker for free with the next trait solver, so I don't want to invest in completing the current check, but this fix is simple enough and it can cause annoying red squiggles.

👀 I didn't know that, nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants