From 2e8dab631b4ab429eeade7f5302e8de9dcd0b398 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 14 Jun 2021 13:18:03 +0300 Subject: internal: prepare to move assist definitions --- crates/ide/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ide') diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index 0019b7ba5..98d01f0ce 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs @@ -535,7 +535,7 @@ impl Analysis { ) -> Cancellable> { self.with_db(|db| { let ssr_assists = ssr::ssr_assists(db, &resolve, frange); - let mut acc = Assist::get(db, config, resolve, frange); + let mut acc = ide_assists::assists(db, config, resolve, frange); acc.extend(ssr_assists.into_iter()); acc }) @@ -576,7 +576,7 @@ impl Analysis { Vec::new() }; - let mut res = Assist::get(db, assist_config, resolve, frange); + let mut res = ide_assists::assists(db, assist_config, resolve, frange); res.extend(ssr_assists.into_iter()); res.extend(diagnostic_assists.into_iter()); -- cgit v1.2.3