]> git.lizzy.rs Git - rust.git/commit
Paper over #8931 a bit more
authorFlorian Diebold <flodiebold@gmail.com>
Sun, 23 May 2021 11:00:14 +0000 (13:00 +0200)
committerFlorian Diebold <flodiebold@gmail.com>
Sun, 23 May 2021 11:00:14 +0000 (13:00 +0200)
commit34a3bc4196db302ea5b31c51b6d555336965be5f
treef5de0f14403a7ff9df56abbfb347c651ade11a92
parenta5d85a6356dc761d047f46bf04eae09dc9ab80f9
Paper over #8931 a bit more

The problem was the skipping of binders in
`resolve_method_call_as_callable`; this still doesn't use the _correct_
substitution, but at least it doesn't return a type with free variables
in it.

Fixes #8931.
crates/hir/src/semantics.rs
crates/ide_completion/src/completions/dot.rs