summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hir_typeck/helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir_typeck/helpers.cpp b/src/hir_typeck/helpers.cpp
index 33d26184..f1183157 100644
--- a/src/hir_typeck/helpers.cpp
+++ b/src/hir_typeck/helpers.cpp
@@ -2311,7 +2311,7 @@ bool TraitResolution::find_trait_impls_crate(const Span& sp,
// NOTE: Expected behavior is for Ivars to return false
// TODO: Should they return Compare::Fuzzy instead?
if( type.m_data.is_Infer() ) {
- return false;
+ return callback( ImplRef(&type, params_ptr, &null_assoc), ::HIR::Compare::Fuzzy );
}
const ::HIR::TraitMarkings* markings = nullptr;