diff options
author | Aleksey Kladov <[email protected]> | 2019-04-13 09:00:15 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-04-13 09:00:15 +0100 |
commit | 62d01dd4dfc8feb52c006b84f9d1a1a7142cc060 (patch) | |
tree | 82c6e8b1b51f5a0de63e038fd6d872cd39882015 /crates/ra_ide_api/src/completion/complete_path.rs | |
parent | f4a94e74bcd6c8f9275a57a775e64314af1878da (diff) |
hide resolver
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_path.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_path.rs b/crates/ra_ide_api/src/completion/complete_path.rs index e9bdf5af2..bc03a7095 100644 --- a/crates/ra_ide_api/src/completion/complete_path.rs +++ b/crates/ra_ide_api/src/completion/complete_path.rs | |||
@@ -9,7 +9,7 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) { | |||
9 | Some(path) => path.clone(), | 9 | Some(path) => path.clone(), |
10 | _ => return, | 10 | _ => return, |
11 | }; | 11 | }; |
12 | let def = match ctx.analyzer.resolver().resolve_path(ctx.db, &path).take_types() { | 12 | let def = match ctx.analyzer.resolve_hir_path(ctx.db, &path).take_types() { |
13 | Some(Resolution::Def(def)) => def, | 13 | Some(Resolution::Def(def)) => def, |
14 | _ => return, | 14 | _ => return, |
15 | }; | 15 | }; |