From 3a4bce4e6c6f0f52aab6787403b61f09b26bb532 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 31 Jul 2016 15:42:55 +0800 Subject: HIR Typecheck - (minor) Logging in expand associated types --- src/hir_typeck/helpers.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/hir_typeck/helpers.cpp b/src/hir_typeck/helpers.cpp index d919bae1..f751fe2b 100644 --- a/src/hir_typeck/helpers.cpp +++ b/src/hir_typeck/helpers.cpp @@ -1375,12 +1375,11 @@ bool TraitResolution::has_associated_type(const ::HIR::TypeRef& input) const void TraitResolution::expand_associated_types__UfcsKnown(const Span& sp, ::HIR::TypeRef& input) const { + TRACE_FUNCTION_FR("input=" << input, input); auto& e = input.m_data.as_Path(); auto& pe = e.path.m_data.as_UfcsKnown(); // TODO: If opaque, still search a list of known equalities - DEBUG("Locating associated type for " << e.path); - *pe.type = expand_associated_types(sp, mv$(*pe.type)); -- cgit v1.2.3