diff options
author | Aleksey Kladov <[email protected]> | 2021-06-14 11:18:03 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-14 15:45:17 +0100 |
commit | 2e8dab631b4ab429eeade7f5302e8de9dcd0b398 (patch) | |
tree | 0f75dd26d6c1b370dcb53da5bb868f1799e2203c /crates/ide | |
parent | 1d2772c2c7dc0a42d8a9429d24ea41412add61b3 (diff) |
internal: prepare to move assist definitions
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 | ||