diff options
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r-- | crates/ra_hir_def/src/nameres.rs | 2 | ||||
-rw-r--r-- | crates/ra_hir_def/src/nameres/raw.rs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/nameres.rs b/crates/ra_hir_def/src/nameres.rs index 1a3f7667d..5893708e8 100644 --- a/crates/ra_hir_def/src/nameres.rs +++ b/crates/ra_hir_def/src/nameres.rs | |||
@@ -1 +1,3 @@ | |||
1 | //! FIXME: write short doc here | ||
2 | |||
1 | pub mod raw; | 3 | pub mod raw; |
diff --git a/crates/ra_hir_def/src/nameres/raw.rs b/crates/ra_hir_def/src/nameres/raw.rs index 13b9fbf48..86b4fef96 100644 --- a/crates/ra_hir_def/src/nameres/raw.rs +++ b/crates/ra_hir_def/src/nameres/raw.rs | |||
@@ -8,7 +8,6 @@ use ra_syntax::{ | |||
8 | ast::{self, AttrsOwner, NameOwner}, | 8 | ast::{self, AttrsOwner, NameOwner}, |
9 | AstNode, AstPtr, SourceFile, | 9 | AstNode, AstPtr, SourceFile, |
10 | }; | 10 | }; |
11 | use test_utils::tested_by; | ||
12 | 11 | ||
13 | use crate::{ | 12 | use crate::{ |
14 | attr::Attr, | 13 | attr::Attr, |
@@ -301,7 +300,8 @@ impl<DB: AstDatabase> RawItemsCollector<&DB> { | |||
301 | self.push_item(current_module, attrs, RawItemKind::Module(item)); | 300 | self.push_item(current_module, attrs, RawItemKind::Module(item)); |
302 | return; | 301 | return; |
303 | } | 302 | } |
304 | tested_by!(name_res_works_for_broken_modules); | 303 | // FIXME: restore this mark once we complete hir splitting |
304 | // tested_by!(name_res_works_for_broken_modules); | ||
305 | } | 305 | } |
306 | 306 | ||
307 | fn add_use_item(&mut self, current_module: Option<Module>, use_item: ast::UseItem) { | 307 | fn add_use_item(&mut self, current_module: Option<Module>, use_item: ast::UseItem) { |