diff options
author | Florian Diebold <[email protected]> | 2021-05-23 12:00:14 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2021-05-23 12:00:14 +0100 |
commit | 34a3bc4196db302ea5b31c51b6d555336965be5f (patch) | |
tree | f5de0f14403a7ff9df56abbfb347c651ade11a92 /crates/ide_completion | |
parent | a5d85a6356dc761d047f46bf04eae09dc9ab80f9 (diff) |
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.
Diffstat (limited to 'crates/ide_completion')
-rw-r--r-- | crates/ide_completion/src/completions/dot.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide_completion/src/completions/dot.rs b/crates/ide_completion/src/completions/dot.rs index 1bff55936..fd9738743 100644 --- a/crates/ide_completion/src/completions/dot.rs +++ b/crates/ide_completion/src/completions/dot.rs | |||
@@ -480,6 +480,7 @@ impl S { | |||
480 | } | 480 | } |
481 | "#, | 481 | "#, |
482 | expect![[r#" | 482 | expect![[r#" |
483 | me foo() fn(&self) -> &[u8] | ||
483 | "#]], | 484 | "#]], |
484 | ); | 485 | ); |
485 | } | 486 | } |