diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-03-02 18:20:14 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-03-02 18:20:14 +0800 |
commit | e00565479fd031681f047225cac5a26cfa94ad5e (patch) | |
tree | 900bd1907a058b69a292c7dd67c91a04203ba814 /src/trans/enumerate.cpp | |
parent | 0c7faa5fd118366c4b272e036e95625ebccf67ea (diff) | |
download | mrust-e00565479fd031681f047225cac5a26cfa94ad5e.tar.gz |
MIR Gen - More Param usage
Diffstat (limited to 'src/trans/enumerate.cpp')
-rw-r--r-- | src/trans/enumerate.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/trans/enumerate.cpp b/src/trans/enumerate.cpp index 89846344..e4560ffa 100644 --- a/src/trans/enumerate.cpp +++ b/src/trans/enumerate.cpp @@ -1150,7 +1150,7 @@ namespace { ::std::vector<::HIR::TypeRef> best_impl_params; const ::HIR::TraitImpl* best_impl = nullptr; resolve.find_impl(sp, e.trait.m_path, e.trait.m_params, *e.type, [&](auto impl_ref, auto is_fuzz) { - DEBUG("Found " << impl_ref); + DEBUG("[get_ent_fullpath] Found " << impl_ref); //ASSERT_BUG(sp, !is_fuzz, "Fuzzy match not allowed here"); if( ! impl_ref.m_data.is_TraitImpl() ) { DEBUG("Trans impl search found an invalid impl type"); @@ -1201,6 +1201,8 @@ namespace { else BUG(sp, "Parameter " << i << " unset"); } + if( is_spec ) + DEBUG("- Specialisable"); return !is_spec; } return false; |