Make ExpOrPatId private

This commit is contained in:
kjeremy 2019-03-04 09:49:18 -05:00
parent 79f61dcb0e
commit 1578375b89
2 changed files with 7 additions and 4 deletions

View file

@ -136,7 +136,7 @@ pub(crate) fn reference_definition(
if let Some(res) = source_map
.node_expr(expr)
.and_then(|it| infer_result.assoc_resolutions(it.into()))
.and_then(|it| infer_result.assoc_resolutions_for_expr(it.into()))
{
return Exact(NavigationTarget::from_impl_item(db, res));
}