]> git.lizzy.rs Git - rust.git/commit
Auto merge of #36822 - Aatch:resolve-callee-expr, r=luqmana
authorbors <bors@rust-lang.org>
Fri, 30 Sep 2016 11:24:38 +0000 (04:24 -0700)
committerGitHub <noreply@github.com>
Fri, 30 Sep 2016 11:24:38 +0000 (04:24 -0700)
commit1d64acdceb6f0eebbc5e8774972b86e4cf192a0f
treede8b45e4fd0f47abc75aa67ac0e284a0aa66aa22
parentc88ed2a1a7c5e11932f2f2b315e527933d3f7ebf
parentec2e05194f02fea51ad19de3498b9f6818166f1c
Auto merge of #36822 - Aatch:resolve-callee-expr, r=luqmana

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