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: Normalize expected ty in call arguments #15325

Merged
merged 1 commit into from Jul 22, 2023
Merged

Conversation

HKalbasi
Copy link
Member

fix #15321

I'm not sure if we should do this, or add a normalize in the beginning of infer_expr_inner, or somewhere else. r? @lowr

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 21, 2023
@flodiebold
Copy link
Member

@bors r+

This is a better place than infer_expr_inner, we should try to normalize once when the type "comes in", instead of all the time just in case.

@bors
Copy link
Collaborator

bors commented Jul 22, 2023

📌 Commit b7d91ca has been approved by flodiebold

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jul 22, 2023

⌛ Testing commit b7d91ca with merge a317fa8...

@bors
Copy link
Collaborator

bors commented Jul 22, 2023

☀️ Test successful - checks-actions
Approved by: flodiebold
Pushing a317fa8 to master...

@bors bors merged commit a317fa8 into rust-lang:master Jul 22, 2023
10 checks passed
@lnicola lnicola changed the title Normalize expected ty in call arguments fix: Normalize expected ty in call arguments Jul 22, 2023
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.

False negative type mismatch with associated types in arguments
4 participants