diff options
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r-- | crates/ra_ide_api/src/goto_definition.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/goto_definition.rs b/crates/ra_ide_api/src/goto_definition.rs index f16c3bda4..364263d9b 100644 --- a/crates/ra_ide_api/src/goto_definition.rs +++ b/crates/ra_ide_api/src/goto_definition.rs | |||
@@ -136,7 +136,7 @@ pub(crate) fn reference_definition( | |||
136 | 136 | ||
137 | if let Some(res) = source_map | 137 | if let Some(res) = source_map |
138 | .node_expr(expr) | 138 | .node_expr(expr) |
139 | .and_then(|it| infer_result.assoc_resolutions(it.into())) | 139 | .and_then(|it| infer_result.assoc_resolutions_for_expr(it.into())) |
140 | { | 140 | { |
141 | return Exact(NavigationTarget::from_impl_item(db, res)); | 141 | return Exact(NavigationTarget::from_impl_item(db, res)); |
142 | } | 142 | } |