From f5968cfc84fecb61313fd591358273365b4ffae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Wed, 8 Dec 2021 16:55:25 +0200 Subject: [PATCH] Remove dead assists-related function --- crates/ide/src/lib.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index e7feb042b22..8889dec5c8e 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs @@ -550,24 +550,6 @@ impl Analysis { .unwrap_or_default()) } - /// Computes assists (aka code actions aka intentions) for the given - /// position. If `resolve == false`, computes enough info to show the - /// lightbulb list in the editor, but doesn't compute actual edits, to - /// improve performance. - pub fn assists( - &self, - config: &AssistConfig, - resolve: AssistResolveStrategy, - frange: FileRange, - ) -> Cancellable> { - self.with_db(|db| { - let ssr_assists = ssr::ssr_assists(db, &resolve, frange); - let mut acc = ide_assists::assists(db, config, resolve, frange); - acc.extend(ssr_assists.into_iter()); - acc - }) - } - /// Computes the set of diagnostics for the given file. pub fn diagnostics( &self,