diff options
author | Kirill Bulatov <[email protected]> | 2020-11-28 14:30:39 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-11-28 14:30:39 +0000 |
commit | 3f612d37c68a6e4c09e407b7cd2ad8a1d17ab4e6 (patch) | |
tree | e51b5ce814d08c79bd667719992c8b7254e4eb68 /crates/ide/src | |
parent | 7b145bd99c855b2f4a15835a2298dde504b04d8f (diff) |
Move the helpers into ide_db
Diffstat (limited to 'crates/ide/src')
-rw-r--r-- | crates/ide/src/inlay_hints.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/inlay_hints.rs b/crates/ide/src/inlay_hints.rs index 9c8bb7c45..65df7979c 100644 --- a/crates/ide/src/inlay_hints.rs +++ b/crates/ide/src/inlay_hints.rs | |||
@@ -1,7 +1,7 @@ | |||
1 | use either::Either; | 1 | use either::Either; |
2 | use hir::{known, Callable, HirDisplay, Semantics}; | 2 | use hir::{known, Callable, HirDisplay, Semantics}; |
3 | use ide_db::helpers::FamousDefs; | ||
3 | use ide_db::RootDatabase; | 4 | use ide_db::RootDatabase; |
4 | use ide_helpers::FamousDefs; | ||
5 | use stdx::to_lower_snake_case; | 5 | use stdx::to_lower_snake_case; |
6 | use syntax::{ | 6 | use syntax::{ |
7 | ast::{self, ArgListOwner, AstNode, NameOwner}, | 7 | ast::{self, ArgListOwner, AstNode, NameOwner}, |
@@ -428,7 +428,7 @@ fn get_callable(sema: &Semantics<RootDatabase>, expr: &ast::Expr) -> Option<hir: | |||
428 | #[cfg(test)] | 428 | #[cfg(test)] |
429 | mod tests { | 429 | mod tests { |
430 | use expect_test::{expect, Expect}; | 430 | use expect_test::{expect, Expect}; |
431 | use ide_helpers::FamousDefs; | 431 | use ide_db::helpers::FamousDefs; |
432 | use test_utils::extract_annotations; | 432 | use test_utils::extract_annotations; |
433 | 433 | ||
434 | use crate::{fixture, inlay_hints::InlayHintsConfig}; | 434 | use crate::{fixture, inlay_hints::InlayHintsConfig}; |