diff options
Diffstat (limited to 'crates/ra_analysis/src/imp.rs')
-rw-r--r-- | crates/ra_analysis/src/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs index b4faf0b5b..2ed6694ba 100644 --- a/crates/ra_analysis/src/imp.rs +++ b/crates/ra_analysis/src/imp.rs | |||
@@ -362,7 +362,7 @@ impl AnalysisImpl { | |||
362 | for (_, fs) in file_symbols { | 362 | for (_, fs) in file_symbols { |
363 | if fs.kind == FN_DEF { | 363 | if fs.kind == FN_DEF { |
364 | if let Some(fn_def) = find_node_at_offset(syntax, fs.node_range.start()) { | 364 | if let Some(fn_def) = find_node_at_offset(syntax, fs.node_range.start()) { |
365 | if let Some(descriptor) = FnDescriptor::new_opt(fn_def) { | 365 | if let Some(descriptor) = FnDescriptor::new(fn_def) { |
366 | // If we have a calling expression let's find which argument we are on | 366 | // If we have a calling expression let's find which argument we are on |
367 | let mut current_parameter = None; | 367 | let mut current_parameter = None; |
368 | 368 | ||