aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-23 13:05:13 +0000
committerAleksey Kladov <[email protected]>2019-01-23 13:05:13 +0000
commit2dbf58c579d6fe6a8acefcd9ae17eef7e984bca1 (patch)
treeeae324e5b6277358bf6d4c162cd387ac4a2a717f /crates/ra_hir/src
parent86507c0626eb07485b21c61638673acbb3c2a9ad (diff)
move completion item tests closer to the code
this is the reason why we need marks: the tests were spread across two files, because I've forgotten that there were tests already
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/lib.rs5
-rw-r--r--crates/ra_hir/src/marks.rs4
2 files changed, 6 insertions, 3 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs
index 33a9ba605..a861ee88e 100644
--- a/crates/ra_hir/src/lib.rs
+++ b/crates/ra_hir/src/lib.rs
@@ -8,8 +8,6 @@
8pub mod db; 8pub mod db;
9#[cfg(test)] 9#[cfg(test)]
10mod mock; 10mod mock;
11#[cfg(test)]
12mod marks;
13mod query_definitions; 11mod query_definitions;
14mod path; 12mod path;
15pub mod source_binder; 13pub mod source_binder;
@@ -29,6 +27,9 @@ mod generics;
29mod code_model_api; 27mod code_model_api;
30mod code_model_impl; 28mod code_model_impl;
31 29
30#[cfg(test)]
31mod marks;
32
32use crate::{ 33use crate::{
33 db::HirDatabase, 34 db::HirDatabase,
34 name::{AsName, KnownName}, 35 name::{AsName, KnownName},
diff --git a/crates/ra_hir/src/marks.rs b/crates/ra_hir/src/marks.rs
index 6aff2c4e1..f4d0c3e59 100644
--- a/crates/ra_hir/src/marks.rs
+++ b/crates/ra_hir/src/marks.rs
@@ -1 +1,3 @@
1test_utils::mark!(name_res_works_for_broken_modules); 1use test_utils::mark;
2
3mark!(name_res_works_for_broken_modules);