aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-06-08 12:59:12 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-06-08 12:59:12 +0100
commitbb55111c209a9d3a6249cab35308a506b7f22d53 (patch)
tree380c082f86c927b72c0bbda0ac2d9383c15df949 /crates/ra_hir/src/nameres.rs
parent2a6b363b44e335af5f26ac503461ef15cca82ace (diff)
parentac64967872507bb921ad69fc50ac3475c1fc26f8 (diff)
Merge #1385
1385: Refactor and queryfy documentation handling in HIR r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/nameres.rs')
-rw-r--r--crates/ra_hir/src/nameres.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_hir/src/nameres.rs b/crates/ra_hir/src/nameres.rs
index 8b798d6c9..dc0dd23c9 100644
--- a/crates/ra_hir/src/nameres.rs
+++ b/crates/ra_hir/src/nameres.rs
@@ -323,6 +323,8 @@ impl CrateDefMap {
323 (res.resolved_def, res.segment_index) 323 (res.resolved_def, res.segment_index)
324 } 324 }
325 325
326 // FIXME: This seems to do the same work as `resolve_path_with_macro`, but
327 // using a completely different code path. Seems bad, huh?
326 pub(crate) fn find_macro( 328 pub(crate) fn find_macro(
327 &self, 329 &self,
328 db: &impl DefDatabase, 330 db: &impl DefDatabase,