From ef08b6c084fc2676655fe6dfb693ab097d3f9fd9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 2 Jan 2019 19:41:57 +0300 Subject: fix compilation --- crates/ra_analysis/src/completion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_analysis/src/completion.rs') diff --git a/crates/ra_analysis/src/completion.rs b/crates/ra_analysis/src/completion.rs index b4ee092b5..739ca6ae8 100644 --- a/crates/ra_analysis/src/completion.rs +++ b/crates/ra_analysis/src/completion.rs @@ -58,6 +58,6 @@ fn check_completion(code: &str, expected_completions: &str, kind: CompletionKind } else { single_file_with_position(code) }; - let completions = completions(&analysis.imp.db, position).unwrap().unwrap(); + let completions = completions(&analysis.db, position).unwrap().unwrap(); completions.assert_match(expected_completions, kind); } -- cgit v1.2.3