diff options
Diffstat (limited to 'crates/ide')
-rw-r--r-- | crates/ide/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
535 | ) -> Cancellable<Vec<Assist>> { | 535 | ) -> Cancellable<Vec<Assist>> { |
536 | self.with_db(|db| { | 536 | self.with_db(|db| { |
537 | let ssr_assists = ssr::ssr_assists(db, &resolve, frange); | 537 | let ssr_assists = ssr::ssr_assists(db, &resolve, frange); |
538 | let mut acc = Assist::get(db, config, resolve, frange); | 538 | let mut acc = ide_assists::assists(db, config, resolve, frange); |
539 | acc.extend(ssr_assists.into_iter()); | 539 | acc.extend(ssr_assists.into_iter()); |
540 | acc | 540 | acc |
541 | }) | 541 | }) |
@@ -576,7 +576,7 @@ impl Analysis { | |||
576 | Vec::new() | 576 | Vec::new() |
577 | }; | 577 | }; |
578 | 578 | ||
579 | let mut res = Assist::get(db, assist_config, resolve, frange); | 579 | let mut res = ide_assists::assists(db, assist_config, resolve, frange); |
580 | res.extend(ssr_assists.into_iter()); | 580 | res.extend(ssr_assists.into_iter()); |
581 | res.extend(diagnostic_assists.into_iter()); | 581 | res.extend(diagnostic_assists.into_iter()); |
582 | 582 | ||