Skip to content
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

fix: Always explicitly set TraitRef self types when lowering #18068

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Sep 6, 2024

No description provided.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 6, 2024
let trait_ref = self.lower_trait_ref_from_resolved_path(
trait_,
resolved_segment,
TyKind::Error.intern(Interner),
Copy link
Member Author

Choose a reason for hiding this comment

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

This should also be an IV, but we are in the ty lowering context here without access to an inference table though that is probably fine as they callers of this at some point call insert_inference_vars anyways

@Veykril
Copy link
Member Author

Veykril commented Sep 6, 2024

@bors r+

@bors
Copy link
Contributor

bors commented Sep 6, 2024

📌 Commit 20f7ab5 has been approved by Veykril

It is now in the queue for this repository.

@Veykril Veykril changed the title fix: Always explicitly set trait ref self types when lowering fix: Always explicitly set TraitRef self types when lowering Sep 6, 2024
@bors
Copy link
Contributor

bors commented Sep 6, 2024

⌛ Testing commit 20f7ab5 with merge fdac69e...

@bors
Copy link
Contributor

bors commented Sep 6, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing fdac69e to master...

@bors bors merged commit fdac69e into rust-lang:master Sep 6, 2024
11 checks passed
@Veykril Veykril deleted the ty-fixes branch September 6, 2024 13:44
@Veykril Veykril restored the ty-fixes branch September 9, 2024 11:37
@Veykril Veykril deleted the ty-fixes branch September 9, 2024 11:38
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.

3 participants