aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2019-11-03 17:56:38 +0000
committerEdwin Cheng <[email protected]>2019-11-04 17:38:20 +0000
commitd8b7ba201e005e533d132f4942ad611468f21a28 (patch)
treeb2b35f223d8a666389891023902177279f3fa5e7 /crates
parent1630a34c3f5c8b1ae2b4e1a99a918fd4d4ec52aa (diff)
Add note for recurseive macro generated code
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide_api/src/display/navigation_target.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/display/navigation_target.rs b/crates/ra_ide_api/src/display/navigation_target.rs
index 0c3e25ce6..b9e3132f4 100644
--- a/crates/ra_ide_api/src/display/navigation_target.rs
+++ b/crates/ra_ide_api/src/display/navigation_target.rs
@@ -40,6 +40,7 @@ fn find_range_from_node(
40 .and_then(|(files, expansion_info)| expansion_info.find_range(text_range, files)) 40 .and_then(|(files, expansion_info)| expansion_info.find_range(text_range, files))
41 .unwrap_or((src, text_range)); 41 .unwrap_or((src, text_range));
42 42
43 // FIXME: handle recursive macro generated macro
43 (file_id.original_file(db), text_range) 44 (file_id.original_file(db), text_range)
44} 45}
45 46