diff options
author | Jeremy A. Kolb <[email protected]> | 2018-10-18 18:40:12 +0100 |
---|---|---|
committer | Jeremy A. Kolb <[email protected]> | 2018-10-18 18:40:12 +0100 |
commit | 3746689e9ddea455d10a41d9fc3af33b22a3707d (patch) | |
tree | 04c4e94e40f5496d961ca2f3dc649da1dd84604e /crates/ra_editor/src/scope/fn_scope.rs | |
parent | 2a704035f4b36a0db737f59a7c939d17656b516f (diff) |
Implement Find All References for local variables
Diffstat (limited to 'crates/ra_editor/src/scope/fn_scope.rs')
-rw-r--r-- | crates/ra_editor/src/scope/fn_scope.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_editor/src/scope/fn_scope.rs b/crates/ra_editor/src/scope/fn_scope.rs index 9088e5a60..f10bdf657 100644 --- a/crates/ra_editor/src/scope/fn_scope.rs +++ b/crates/ra_editor/src/scope/fn_scope.rs | |||
@@ -270,7 +270,6 @@ pub fn resolve_local_name<'a>( | |||
270 | .filter(|entry| shadowed.insert(entry.name())) | 270 | .filter(|entry| shadowed.insert(entry.name())) |
271 | .filter(|entry| entry.name() == name_ref.text()) | 271 | .filter(|entry| entry.name() == name_ref.text()) |
272 | .nth(0); | 272 | .nth(0); |
273 | eprintln!("ret = {:?}", ret); | ||
274 | ret | 273 | ret |
275 | } | 274 | } |
276 | 275 | ||