From 9e7c952bbddc2e6763c49f0511a295362e9893d6 Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Sun, 18 Oct 2020 13:09:00 +0300 Subject: Extract call_info and completion into separate crates --- crates/ide/src/lib.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'crates/ide/src/lib.rs') diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index aaf9b3b4b..cecfae4c7 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs @@ -23,8 +23,6 @@ mod prime_caches; mod display; mod call_hierarchy; -mod call_info; -mod completion; mod diagnostics; mod expand_macro; mod extend_selection; @@ -65,10 +63,6 @@ use crate::display::ToNav; pub use crate::{ call_hierarchy::CallItem, - call_info::CallInfo, - completion::{ - CompletionConfig, CompletionItem, CompletionItemKind, CompletionScore, InsertTextFormat, - }, diagnostics::{Diagnostic, DiagnosticsConfig, Fix, Severity}, display::NavigationTarget, expand_macro::ExpandedMacro, @@ -86,6 +80,10 @@ pub use crate::{ Highlight, HighlightModifier, HighlightModifiers, HighlightTag, HighlightedRange, }, }; +pub use call_info::CallInfo; +pub use completion::{ + CompletionConfig, CompletionItem, CompletionItemKind, CompletionScore, InsertTextFormat, +}; pub use assists::{ utils::MergeBehaviour, Assist, AssistConfig, AssistId, AssistKind, ResolvedAssist, -- cgit v1.2.3