diff options
Diffstat (limited to 'crates/ra_ide/src/lib.rs')
-rw-r--r-- | crates/ra_ide/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs index bbc9e4b8a..4321a6b74 100644 --- a/crates/ra_ide/src/lib.rs +++ b/crates/ra_ide/src/lib.rs | |||
@@ -80,6 +80,7 @@ pub use crate::{ | |||
80 | }, | 80 | }, |
81 | }; | 81 | }; |
82 | 82 | ||
83 | pub use assists::{Assist, AssistConfig, AssistId, AssistKind, ResolvedAssist}; | ||
83 | pub use base_db::{ | 84 | pub use base_db::{ |
84 | Canceled, CrateGraph, CrateId, Edition, FileId, FilePosition, FileRange, SourceRoot, | 85 | Canceled, CrateGraph, CrateId, Edition, FileId, FilePosition, FileRange, SourceRoot, |
85 | SourceRootId, | 86 | SourceRootId, |
@@ -93,7 +94,6 @@ pub use ide_db::{ | |||
93 | symbol_index::Query, | 94 | symbol_index::Query, |
94 | RootDatabase, | 95 | RootDatabase, |
95 | }; | 96 | }; |
96 | pub use ra_assists::{Assist, AssistConfig, AssistId, AssistKind, ResolvedAssist}; | ||
97 | pub use ssr::SsrError; | 97 | pub use ssr::SsrError; |
98 | pub use text_edit::{Indel, TextEdit}; | 98 | pub use text_edit::{Indel, TextEdit}; |
99 | 99 | ||
@@ -478,7 +478,7 @@ impl Analysis { | |||
478 | config: &AssistConfig, | 478 | config: &AssistConfig, |
479 | frange: FileRange, | 479 | frange: FileRange, |
480 | ) -> Cancelable<Vec<ResolvedAssist>> { | 480 | ) -> Cancelable<Vec<ResolvedAssist>> { |
481 | self.with_db(|db| ra_assists::Assist::resolved(db, config, frange)) | 481 | self.with_db(|db| assists::Assist::resolved(db, config, frange)) |
482 | } | 482 | } |
483 | 483 | ||
484 | /// Computes unresolved assists (aka code actions aka intentions) for the given | 484 | /// Computes unresolved assists (aka code actions aka intentions) for the given |