diff options
author | Aleksey Kladov <[email protected]> | 2019-04-11 14:49:35 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-04-11 14:49:35 +0100 |
commit | ebb0c377f0ab99a0f5e6d0c776cb9b026b62b0e4 (patch) | |
tree | 49a2c265c83ae03182cf593c52ec8a0c155ad151 /crates/ra_ide_api/src/completion/complete_scope.rs | |
parent | 3c9f2d0e372cff6490dcd30411cb6cc1f691fde7 (diff) |
remove resolver from CompletonContext
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_scope.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_scope.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_scope.rs b/crates/ra_ide_api/src/completion/complete_scope.rs index 9d82f2270..4c5d07ce5 100644 --- a/crates/ra_ide_api/src/completion/complete_scope.rs +++ b/crates/ra_ide_api/src/completion/complete_scope.rs | |||
@@ -4,7 +4,7 @@ pub(super) fn complete_scope(acc: &mut Completions, ctx: &CompletionContext) { | |||
4 | if !ctx.is_trivial_path { | 4 | if !ctx.is_trivial_path { |
5 | return; | 5 | return; |
6 | } | 6 | } |
7 | let names = ctx.resolver.all_names(ctx.db); | 7 | let names = ctx.analyzer.resolver().all_names(ctx.db); |
8 | 8 | ||
9 | names.into_iter().for_each(|(name, res)| acc.add_resolution(ctx, name.to_string(), &res)); | 9 | names.into_iter().for_each(|(name, res)| acc.add_resolution(ctx, name.to_string(), &res)); |
10 | } | 10 | } |