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

Resolve the callee type in check_call before autoderef #36822

Merged
merged 1 commit into from
Sep 30, 2016

Conversation

Aatch
Copy link
Contributor

@Aatch Aatch commented Sep 29, 2016

If the callee type is an associated type, then it needs to be normalized
before trying to deref it. This matches the behaviour of
check_method_call for autoderef behaviour in calls.

Fixes #36786

If the callee type is an associated type, then it needs to be normalized
before trying to deref it. This matches the behaviour of
`check_method_call` for autoderef behaviour in calls.

Fixes rust-lang#36786
@rust-highfive
Copy link
Collaborator

r? @pnkfelix

(rust_highfive has picked a reviewer for you, use r? to override)

@bluss bluss added the relnotes Marks issues that should be documented in the release notes of the next release. label Sep 29, 2016
@luqmana
Copy link
Member

luqmana commented Sep 29, 2016

@bors r+

@Aatch
Copy link
Contributor Author

Aatch commented Sep 29, 2016

@bors r=luqmana

@bors
Copy link
Contributor

bors commented Sep 29, 2016

📌 Commit ec2e051 has been approved by luqmana

@bors
Copy link
Contributor

bors commented Sep 30, 2016

⌛ Testing commit ec2e051 with merge 1d64acd...

bors added a commit that referenced this pull request Sep 30, 2016
Resolve the callee type in check_call before autoderef

If the callee type is an associated type, then it needs to be normalized
before trying to deref it. This matches the behaviour of
`check_method_call` for autoderef behaviour in calls.

Fixes #36786
@bors bors merged commit ec2e051 into rust-lang:master Sep 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes Marks issues that should be documented in the release notes of the next release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants