mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Cleaup imports
ide should re-export everything it needs.
This commit is contained in:
parent
03c177af89
commit
2465fa02b7
2 changed files with 13 additions and 13 deletions
|
@ -57,7 +57,7 @@ use ide_db::{
|
|||
symbol_index::{self, FileSymbol},
|
||||
LineIndexDatabase,
|
||||
};
|
||||
use syntax::{SourceFile, TextRange, TextSize};
|
||||
use syntax::SourceFile;
|
||||
|
||||
use crate::display::ToNav;
|
||||
|
||||
|
@ -79,21 +79,20 @@ pub use crate::{
|
|||
HighlightedRange,
|
||||
},
|
||||
};
|
||||
pub use assists::{Assist, AssistConfig, AssistId, AssistKind, ResolvedAssist};
|
||||
pub use completion::{
|
||||
CompletionConfig, CompletionItem, CompletionItemKind, CompletionResolveCapability,
|
||||
CompletionScore, ImportEdit, InsertTextFormat,
|
||||
};
|
||||
pub use ide_db::{
|
||||
call_info::CallInfo,
|
||||
search::{Reference, ReferenceAccess, ReferenceKind},
|
||||
};
|
||||
|
||||
pub use assists::{Assist, AssistConfig, AssistId, AssistKind, ResolvedAssist};
|
||||
pub use hir::{Documentation, Semantics};
|
||||
pub use ide_db::base_db::{
|
||||
Canceled, Change, CrateGraph, CrateId, Edition, FileId, FilePosition, FileRange, SourceRoot,
|
||||
SourceRootId,
|
||||
};
|
||||
pub use ide_db::{
|
||||
call_info::CallInfo,
|
||||
search::{Reference, ReferenceAccess, ReferenceKind},
|
||||
};
|
||||
pub use ide_db::{
|
||||
label::Label,
|
||||
line_index::{LineCol, LineIndex},
|
||||
|
@ -103,6 +102,7 @@ pub use ide_db::{
|
|||
RootDatabase,
|
||||
};
|
||||
pub use ssr::SsrError;
|
||||
pub use syntax::{TextRange, TextSize};
|
||||
pub use text_edit::{Indel, TextEdit};
|
||||
|
||||
pub type Cancelable<T> = Result<T, Canceled>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue