mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Make call_info a part of ide_db
This commit is contained in:
parent
8d3d509af7
commit
b6ea56ea09
11 changed files with 14 additions and 53 deletions
|
@ -80,10 +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 ide_db::call_info::CallInfo;
|
||||
|
||||
pub use assists::{
|
||||
utils::MergeBehaviour, Assist, AssistConfig, AssistId, AssistKind, ResolvedAssist,
|
||||
|
@ -396,7 +396,7 @@ impl Analysis {
|
|||
|
||||
/// Computes parameter information for the given call expression.
|
||||
pub fn call_info(&self, position: FilePosition) -> Cancelable<Option<CallInfo>> {
|
||||
self.with_db(|db| call_info::call_info(db, position))
|
||||
self.with_db(|db| ide_db::call_info::call_info(db, position))
|
||||
}
|
||||
|
||||
/// Computes call hierarchy candidates for the given file position.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue