Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir/src/lib.rs')
| -rw-r--r-- | crates/hir/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index b028e76c17..3b0c29e87e 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -2612,7 +2612,7 @@ impl Type { None, name, method_resolution::LookupMode::MethodCall, - callback, + &mut |ty, id| callback(&ty.value, id), ); } @@ -2664,7 +2664,7 @@ impl Type { None, name, method_resolution::LookupMode::Path, - callback, + &mut |ty, id| callback(&ty.value, id), ); } |