mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Fix compilation of hir and ide crates
This commit is contained in:
parent
b939a6dcac
commit
48c492af7e
2 changed files with 3 additions and 3 deletions
|
@ -323,7 +323,7 @@ fn compute_type_match(
|
|||
|
||||
if completion_ty == expected_type {
|
||||
Some(CompletionRelevanceTypeMatch::Exact)
|
||||
} else if expected_type.could_unify_with(completion_ty) {
|
||||
} else if expected_type.could_unify_with(ctx.db, completion_ty) {
|
||||
Some(CompletionRelevanceTypeMatch::CouldUnify)
|
||||
} else {
|
||||
None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue