diff options
author | kjeremy <[email protected]> | 2019-03-04 14:49:18 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-03-04 14:49:18 +0000 |
commit | 1578375b89848b98a4d5187aaf794bc227d1eda6 (patch) | |
tree | 973b21649fd2bc64a2e693212df42e35dd21c0c7 /crates/ra_ide_api | |
parent | 79f61dcb0e3de873c4685c9abaaf4ec5af748000 (diff) |
Make ExpOrPatId private
Diffstat (limited to 'crates/ra_ide_api')
-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 | } |