aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-03-17 09:06:30 +0000
committerAleksey Kladov <[email protected]>2019-03-17 09:53:22 +0000
commit4d7fa6d30b89523aa4037cac61e10b8213ac4c04 (patch)
tree4077d7f00c6b926169992e60cfbbc0587a77f3f6 /crates/ra_hir
parent6955e392f8c1cd49e769328b14e10b84ede26744 (diff)
remove fixme
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/nameres/collector.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_hir/src/nameres/collector.rs b/crates/ra_hir/src/nameres/collector.rs
index 9992e054d..12ed49a0a 100644
--- a/crates/ra_hir/src/nameres/collector.rs
+++ b/crates/ra_hir/src/nameres/collector.rs
@@ -136,8 +136,7 @@ where
136 .as_ident() 136 .as_ident()
137 .expect("extern crate should have been desugared to one-element path"), 137 .expect("extern crate should have been desugared to one-element path"),
138 ); 138 );
139 // FIXME: why do we return No here? 139 (res, ReachedFixedPoint::Yes)
140 (res, if res.is_none() { ReachedFixedPoint::No } else { ReachedFixedPoint::Yes })
141 } else { 140 } else {
142 let res = 141 let res =
143 self.def_map.resolve_path_fp(self.db, ResolveMode::Import, module_id, &import.path); 142 self.def_map.resolve_path_fp(self.db, ResolveMode::Import, module_id, &import.path);