diff options
author | Aleksey Kladov <[email protected]> | 2019-03-23 07:53:48 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-03-23 08:07:09 +0000 |
commit | 4fd8cfd6adc554752a63aed9ed71d44b372ec4dc (patch) | |
tree | b96c4a3c4f1165fd394ce3a854dbe9e02d370a92 /crates/ra_hir/src/code_model_api.rs | |
parent | 2394a2ee35b40b1cb87369079860edf06d3b5a53 (diff) |
replace todo with fixme
Diffstat (limited to 'crates/ra_hir/src/code_model_api.rs')
-rw-r--r-- | crates/ra_hir/src/code_model_api.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_hir/src/code_model_api.rs b/crates/ra_hir/src/code_model_api.rs index b00481cd5..62301e4ab 100644 --- a/crates/ra_hir/src/code_model_api.rs +++ b/crates/ra_hir/src/code_model_api.rs | |||
@@ -51,7 +51,7 @@ impl Crate { | |||
51 | crate_graph.edition(self.crate_id) | 51 | crate_graph.edition(self.crate_id) |
52 | } | 52 | } |
53 | 53 | ||
54 | // TODO: should this be in source_binder? | 54 | // FIXME: should this be in source_binder? |
55 | pub fn source_root_crates( | 55 | pub fn source_root_crates( |
56 | db: &impl PersistentHirDatabase, | 56 | db: &impl PersistentHirDatabase, |
57 | source_root: SourceRootId, | 57 | source_root: SourceRootId, |
@@ -301,7 +301,7 @@ impl Struct { | |||
301 | db.type_for_def((*self).into(), Namespace::Values) | 301 | db.type_for_def((*self).into(), Namespace::Values) |
302 | } | 302 | } |
303 | 303 | ||
304 | // TODO move to a more general type | 304 | // FIXME move to a more general type |
305 | /// Builds a resolver for type references inside this struct. | 305 | /// Builds a resolver for type references inside this struct. |
306 | pub fn resolver(&self, db: &impl HirDatabase) -> Resolver { | 306 | pub fn resolver(&self, db: &impl HirDatabase) -> Resolver { |
307 | // take the outer scope... | 307 | // take the outer scope... |
@@ -361,7 +361,7 @@ impl Enum { | |||
361 | db.type_for_def((*self).into(), Namespace::Types) | 361 | db.type_for_def((*self).into(), Namespace::Types) |
362 | } | 362 | } |
363 | 363 | ||
364 | // TODO: move to a more general type | 364 | // FIXME: move to a more general type |
365 | /// Builds a resolver for type references inside this struct. | 365 | /// Builds a resolver for type references inside this struct. |
366 | pub fn resolver(&self, db: &impl HirDatabase) -> Resolver { | 366 | pub fn resolver(&self, db: &impl HirDatabase) -> Resolver { |
367 | // take the outer scope... | 367 | // take the outer scope... |
@@ -513,7 +513,7 @@ impl Function { | |||
513 | ImplBlock::containing(module_impls, (*self).into()) | 513 | ImplBlock::containing(module_impls, (*self).into()) |
514 | } | 514 | } |
515 | 515 | ||
516 | // TODO: move to a more general type for 'body-having' items | 516 | // FIXME: move to a more general type for 'body-having' items |
517 | /// Builds a resolver for code inside this item. | 517 | /// Builds a resolver for code inside this item. |
518 | pub fn resolver(&self, db: &impl HirDatabase) -> Resolver { | 518 | pub fn resolver(&self, db: &impl HirDatabase) -> Resolver { |
519 | // take the outer scope... | 519 | // take the outer scope... |
@@ -558,7 +558,7 @@ impl Const { | |||
558 | ImplBlock::containing(module_impls, (*self).into()) | 558 | ImplBlock::containing(module_impls, (*self).into()) |
559 | } | 559 | } |
560 | 560 | ||
561 | // TODO: move to a more general type for 'body-having' items | 561 | // FIXME: move to a more general type for 'body-having' items |
562 | /// Builds a resolver for code inside this item. | 562 | /// Builds a resolver for code inside this item. |
563 | pub fn resolver(&self, db: &impl HirDatabase) -> Resolver { | 563 | pub fn resolver(&self, db: &impl HirDatabase) -> Resolver { |
564 | // take the outer scope... | 564 | // take the outer scope... |