diff options
Diffstat (limited to 'crates/ra_hir/src/source_binder.rs')
-rw-r--r-- | crates/ra_hir/src/source_binder.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/source_binder.rs b/crates/ra_hir/src/source_binder.rs index 902110913..3645b73b4 100644 --- a/crates/ra_hir/src/source_binder.rs +++ b/crates/ra_hir/src/source_binder.rs | |||
@@ -164,7 +164,7 @@ pub fn resolver_for_position(db: &impl HirDatabase, position: FilePosition) -> R | |||
164 | let scope = scopes.scope_for_offset(position.offset); | 164 | let scope = scopes.scope_for_offset(position.offset); |
165 | Some(expr::resolver_for_scope(func.body(db), db, scope)) | 165 | Some(expr::resolver_for_scope(func.body(db), db, scope)) |
166 | } else { | 166 | } else { |
167 | // TODO const/static/array length | 167 | // FIXME const/static/array length |
168 | None | 168 | None |
169 | } | 169 | } |
170 | } else { | 170 | } else { |
@@ -184,7 +184,7 @@ pub fn resolver_for_node(db: &impl HirDatabase, file_id: FileId, node: &SyntaxNo | |||
184 | let scope = scopes.scope_for(&node); | 184 | let scope = scopes.scope_for(&node); |
185 | Some(expr::resolver_for_scope(func.body(db), db, scope)) | 185 | Some(expr::resolver_for_scope(func.body(db), db, scope)) |
186 | } else { | 186 | } else { |
187 | // TODO const/static/array length | 187 | // FIXME const/static/array length |
188 | None | 188 | None |
189 | } | 189 | } |
190 | } else { | 190 | } else { |
@@ -212,7 +212,7 @@ fn try_get_resolver_for_node( | |||
212 | } else if let Some(f) = ast::FnDef::cast(node) { | 212 | } else if let Some(f) = ast::FnDef::cast(node) { |
213 | function_from_source(db, file_id, f).map(|f| f.resolver(db)) | 213 | function_from_source(db, file_id, f).map(|f| f.resolver(db)) |
214 | } else { | 214 | } else { |
215 | // TODO add missing cases | 215 | // FIXME add missing cases |
216 | None | 216 | None |
217 | } | 217 | } |
218 | } | 218 | } |