diff options
author | John Hodge <tpg@mutabah.net> | 2016-11-25 15:00:41 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-11-25 15:00:41 +0800 |
commit | eedd863d306be24e2033a5bb06f9893ef72e1738 (patch) | |
tree | 19864ea932e574f027cb9d16c5560909efdf113c /src | |
parent | 6ceb82723d6594d96a1308aa16f9ec863246935d (diff) | |
download | mrust-eedd863d306be24e2033a5bb06f9893ef72e1738.tar.gz |
HIR Typecheck Expressions - Merge non-coercable options
Diffstat (limited to 'src')
-rw-r--r-- | src/hir_typeck/expr_cs.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/hir_typeck/expr_cs.cpp b/src/hir_typeck/expr_cs.cpp index 73524d87..7625b186 100644 --- a/src/hir_typeck/expr_cs.cpp +++ b/src/hir_typeck/expr_cs.cpp @@ -5137,7 +5137,6 @@ namespace { return false; ), (Path, - #if 0 if( e_ia.binding.tag() != e_ib.binding.tag() ) return false; const ::HIR::TraitMarkings* tm = nullptr; @@ -5165,9 +5164,6 @@ namespace { return true; // It _could_ unsize, so let it coexist return false; - #else - return context.m_ivars.types_equal(ia, ib); - #endif ), (Slice, const auto& ia2 = context.m_ivars.get_type(*e_ia.inner); |