aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-12-19 22:00:54 +0000
committerAleksey Kladov <[email protected]>2018-12-20 09:15:38 +0000
commit2d4582bfc648fd1a1ce92ea677aeb1c82ee8a631 (patch)
tree7ab8aa0935ec5b6888f93038cebf38c24179f1e4
parent2caac99ef3731b39c484a23cdab00af94de7b645 (diff)
fixme comment
-rw-r--r--crates/ra_hir/src/module/nameres.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/module/nameres.rs b/crates/ra_hir/src/module/nameres.rs
index 4161442b2..f44abc730 100644
--- a/crates/ra_hir/src/module/nameres.rs
+++ b/crates/ra_hir/src/module/nameres.rs
@@ -37,6 +37,7 @@ use crate::{
37 37
38/// Item map is the result of the name resolution. Item map contains, for each 38/// Item map is the result of the name resolution. Item map contains, for each
39/// module, the set of visible items. 39/// module, the set of visible items.
40// FIXME: currenty we compute item map per source-root. We should do it per crate instead.
40#[derive(Default, Debug, PartialEq, Eq)] 41#[derive(Default, Debug, PartialEq, Eq)]
41pub struct ItemMap { 42pub struct ItemMap {
42 pub per_module: FxHashMap<ModuleId, ModuleScope>, 43 pub per_module: FxHashMap<ModuleId, ModuleScope>,