summaryrefslogtreecommitdiff
path: root/src/trans
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-30 21:12:28 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-30 21:12:28 +0800
commitdeefbda0e18dd5ce8149d30bbea06b5526fc8427 (patch)
tree36c7ecbca5b08b07d49d0671c18023004b3109a2 /src/trans
parentd0ff2392e7d015174d300a2818f613bc0257679c (diff)
downloadmrust-deefbda0e18dd5ce8149d30bbea06b5526fc8427.tar.gz
MIR - Misc fixes
Diffstat (limited to 'src/trans')
-rw-r--r--src/trans/enumerate.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/trans/enumerate.cpp b/src/trans/enumerate.cpp
index c29e5dfc..1750e730 100644
--- a/src/trans/enumerate.cpp
+++ b/src/trans/enumerate.cpp
@@ -254,7 +254,7 @@ namespace {
BUG(Span(), "Generic type hit in enumeration - " << ty);
),
(ErasedType,
- BUG(Span(), "ErasedType hit in enumeration - " << ty);
+ //BUG(Span(), "ErasedType hit in enumeration - " << ty);
),
(Closure,
BUG(Span(), "Closure type hit in enumeration - " << ty);
@@ -594,7 +594,9 @@ namespace {
impl_pp.m_types = mv$(best_impl_params);
TU_MATCHA( (trait_vi), (ve),
- (Constant, TODO(sp, "Associated constant"); ),
+ (Constant,
+ TODO(sp, "Associated constant - " << path);
+ ),
(Static,
auto it = impl.m_statics.find(e.item);
if( it != impl.m_statics.end() )