mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Make ExpOrPatId private
This commit is contained in:
parent
79f61dcb0e
commit
1578375b89
2 changed files with 7 additions and 4 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue