diff options
author | Lukas Wirth <[email protected]> | 2021-03-27 20:51:00 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-03-27 20:51:00 +0000 |
commit | 1ef55002c2db4ca68df31306290b019c7fbfb4fb (patch) | |
tree | 222f7661669f96792b5b987aba0b26ce07efcf4a /crates/ide_db/src/call_info | |
parent | 77a447dcda82a9f0eb6e1f04bd4b1dd53a226c65 (diff) |
Cleanup ide_db imports
Diffstat (limited to 'crates/ide_db/src/call_info')
-rw-r--r-- | crates/ide_db/src/call_info/tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ide_db/src/call_info/tests.rs b/crates/ide_db/src/call_info/tests.rs index 75ab3eb6e..281a081a3 100644 --- a/crates/ide_db/src/call_info/tests.rs +++ b/crates/ide_db/src/call_info/tests.rs | |||
@@ -1,8 +1,9 @@ | |||
1 | use crate::RootDatabase; | ||
2 | use base_db::{fixture::ChangeFixture, FilePosition}; | 1 | use base_db::{fixture::ChangeFixture, FilePosition}; |
3 | use expect_test::{expect, Expect}; | 2 | use expect_test::{expect, Expect}; |
4 | use test_utils::RangeOrOffset; | 3 | use test_utils::RangeOrOffset; |
5 | 4 | ||
5 | use crate::RootDatabase; | ||
6 | |||
6 | /// Creates analysis from a multi-file fixture, returns positions marked with $0. | 7 | /// Creates analysis from a multi-file fixture, returns positions marked with $0. |
7 | pub(crate) fn position(ra_fixture: &str) -> (RootDatabase, FilePosition) { | 8 | pub(crate) fn position(ra_fixture: &str) -> (RootDatabase, FilePosition) { |
8 | let change_fixture = ChangeFixture::parse(ra_fixture); | 9 | let change_fixture = ChangeFixture::parse(ra_fixture); |