Skip to content

Commit f5968cf

Browse files
committed
Remove dead assists-related function
1 parent 9ae3158 commit f5968cf

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

crates/ide/src/lib.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -550,24 +550,6 @@ impl Analysis {
550550
.unwrap_or_default())
551551
}
552552

553-
/// Computes assists (aka code actions aka intentions) for the given
554-
/// position. If `resolve == false`, computes enough info to show the
555-
/// lightbulb list in the editor, but doesn't compute actual edits, to
556-
/// improve performance.
557-
pub fn assists(
558-
&self,
559-
config: &AssistConfig,
560-
resolve: AssistResolveStrategy,
561-
frange: FileRange,
562-
) -> Cancellable<Vec<Assist>> {
563-
self.with_db(|db| {
564-
let ssr_assists = ssr::ssr_assists(db, &resolve, frange);
565-
let mut acc = ide_assists::assists(db, config, resolve, frange);
566-
acc.extend(ssr_assists.into_iter());
567-
acc
568-
})
569-
}
570-
571553
/// Computes the set of diagnostics for the given file.
572554
pub fn diagnostics(
573555
&self,

0 commit comments

Comments
 (0)