diff options
Diffstat (limited to 'crates/hir')
-rw-r--r-- | crates/hir/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index eb7865c84..6fa676c4d 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs | |||
@@ -1999,6 +1999,7 @@ impl Type { | |||
1999 | env, | 1999 | env, |
2000 | krate, | 2000 | krate, |
2001 | traits_in_scope, | 2001 | traits_in_scope, |
2002 | None, | ||
2002 | name, | 2003 | name, |
2003 | method_resolution::LookupMode::MethodCall, | 2004 | method_resolution::LookupMode::MethodCall, |
2004 | |ty, it| match it { | 2005 | |ty, it| match it { |
@@ -2031,6 +2032,7 @@ impl Type { | |||
2031 | env, | 2032 | env, |
2032 | krate, | 2033 | krate, |
2033 | traits_in_scope, | 2034 | traits_in_scope, |
2035 | None, | ||
2034 | name, | 2036 | name, |
2035 | method_resolution::LookupMode::Path, | 2037 | method_resolution::LookupMode::Path, |
2036 | |ty, it| callback(ty, it.into()), | 2038 | |ty, it| callback(ty, it.into()), |