mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
use really correct resolver for expressions
This commit is contained in:
parent
20013de2ab
commit
0fd93bc14a
9 changed files with 27 additions and 13 deletions
|
@ -47,7 +47,7 @@ pub(crate) fn reference_definition(
|
|||
) -> ReferenceResult {
|
||||
use self::ReferenceResult::*;
|
||||
|
||||
let analyzer = hir::SourceAnalyzer::new(db, file_id, name_ref.syntax());
|
||||
let analyzer = hir::SourceAnalyzer::new(db, file_id, name_ref.syntax(), None);
|
||||
|
||||
// Special cases:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue