diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-27 21:13:08 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-27 21:13:08 +0000 |
commit | 84f1660a37fa28c4ca4e7e75db5715b12904061a (patch) | |
tree | 333db3209f9acb92601c4ab63a10c63322807a40 /crates/ide_db/src/traits | |
parent | 97dbbad482e3382da027f2f151354445d8af029a (diff) | |
parent | 1ef55002c2db4ca68df31306290b019c7fbfb4fb (diff) |
Merge #8220
8220: Reorder some ide_db imports r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/ide_db/src/traits')
-rw-r--r-- | crates/ide_db/src/traits/tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ide_db/src/traits/tests.rs b/crates/ide_db/src/traits/tests.rs index 84bb25505..2a5482024 100644 --- a/crates/ide_db/src/traits/tests.rs +++ b/crates/ide_db/src/traits/tests.rs | |||
@@ -1,10 +1,11 @@ | |||
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 hir::Semantics; | 3 | use hir::Semantics; |
5 | use syntax::ast::{self, AstNode}; | 4 | use syntax::ast::{self, AstNode}; |
6 | use test_utils::RangeOrOffset; | 5 | use test_utils::RangeOrOffset; |
7 | 6 | ||
7 | use crate::RootDatabase; | ||
8 | |||
8 | /// Creates analysis from a multi-file fixture, returns positions marked with $0. | 9 | /// Creates analysis from a multi-file fixture, returns positions marked with $0. |
9 | pub(crate) fn position(ra_fixture: &str) -> (RootDatabase, FilePosition) { | 10 | pub(crate) fn position(ra_fixture: &str) -> (RootDatabase, FilePosition) { |
10 | let change_fixture = ChangeFixture::parse(ra_fixture); | 11 | let change_fixture = ChangeFixture::parse(ra_fixture); |