diff options
author | Florian Diebold <[email protected]> | 2019-02-17 13:43:59 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-02-17 13:44:39 +0000 |
commit | 795d718ba17545aedb0475051332aed6db2104ed (patch) | |
tree | 652dac8b0a8dbd299f9b2a6696c1714076aab341 /crates/ra_ide_api/src | |
parent | a1bda3fc084bb6aa4979282b4907db9885fac9af (diff) |
Unify with the autorefed/autoderefed receiver type during method resolution
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_dot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_dot.rs b/crates/ra_ide_api/src/completion/complete_dot.rs index be839345f..20fa323ce 100644 --- a/crates/ra_ide_api/src/completion/complete_dot.rs +++ b/crates/ra_ide_api/src/completion/complete_dot.rs | |||
@@ -63,7 +63,7 @@ fn complete_fields(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | fn complete_methods(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) { | 65 | fn complete_methods(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) { |
66 | receiver.iterate_methods(ctx.db, |func| { | 66 | receiver.iterate_methods(ctx.db, |_ty, func| { |
67 | let sig = func.signature(ctx.db); | 67 | let sig = func.signature(ctx.db); |
68 | if sig.has_self_param() { | 68 | if sig.has_self_param() { |
69 | CompletionItem::new( | 69 | CompletionItem::new( |