From c9a37ab768fd204e63a37abe4567d30f0ee167b8 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 9 Sep 2017 13:02:27 +0800 Subject: Windows compile fixes --- src/hir_typeck/helpers.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/hir_typeck/helpers.cpp b/src/hir_typeck/helpers.cpp index 94f7304d..0c8b87c5 100644 --- a/src/hir_typeck/helpers.cpp +++ b/src/hir_typeck/helpers.cpp @@ -2826,7 +2826,6 @@ bool TraitResolution::find_trait_impls_crate(const Span& sp, auto rv = this->find_trait_impls(sp, real_trait_path.m_path, real_trait_path.m_params, real_type, [&](auto impl, auto impl_cmp) { DEBUG("[ftic_check_params] impl_cmp = " << impl_cmp << ", impl = " << impl); auto cmp = impl_cmp; -#if 1 if( cmp == ::HIR::Compare::Fuzzy ) { // If the match was fuzzy, try again filling in with `cb_match` @@ -2841,7 +2840,6 @@ bool TraitResolution::find_trait_impls_crate(const Span& sp, cmp &= real_trait_path.m_params .match_test_generics_fuzz(sp, i_tp, cb_infer, cb_match); DEBUG("[ftic_check_params] - Re-check result: " << cmp); } -#endif for(const auto& assoc_bound : real_trait.m_type_bounds) { ::HIR::TypeRef tmp; const ::HIR::TypeRef* ty_p; -- cgit v1.2.3