diff options
Diffstat (limited to 'src/hir_expand/vtable.cpp')
-rw-r--r-- | src/hir_expand/vtable.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hir_expand/vtable.cpp b/src/hir_expand/vtable.cpp index c36704ed..f12f8de5 100644 --- a/src/hir_expand/vtable.cpp +++ b/src/hir_expand/vtable.cpp @@ -232,6 +232,7 @@ namespace { ::HIR::Visitor::visit_trait_impl(trait_path, impl); + #if 0 // Check if the trait has a vtable, and if it does emit an associated static for it. const auto& tr = m_crate.get_trait_by_path(sp, trait_path); if(tr.m_value_indexes.size() > 0) @@ -266,6 +267,7 @@ namespace { ::HIR::Literal::make_List( mv$(vals) ) } } )); } + #endif } }; } |