From d8b7ba201e005e533d132f4942ad611468f21a28 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Mon, 4 Nov 2019 01:56:38 +0800 Subject: Add note for recurseive macro generated code --- crates/ra_ide_api/src/display/navigation_target.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates') 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( .and_then(|(files, expansion_info)| expansion_info.find_range(text_range, files)) .unwrap_or((src, text_range)); + // FIXME: handle recursive macro generated macro (file_id.original_file(db), text_range) } -- cgit v1.2.3