diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-20 10:35:00 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-20 10:35:00 +0800 |
commit | 4112fb128346045b06efd64ff9e1020e49af24c0 (patch) | |
tree | 4490c6a1a256644120c61cf4b198fce972700114 /src/mir/from_hir.cpp | |
parent | eb7b67e0f98180b1578e3d34ff00203b0131c98f (diff) | |
download | mrust-4112fb128346045b06efd64ff9e1020e49af24c0.tar.gz |
MIR Gen - Associated constants
Diffstat (limited to 'src/mir/from_hir.cpp')
-rw-r--r-- | src/mir/from_hir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir/from_hir.cpp b/src/mir/from_hir.cpp index 5111320c..00b2f507 100644 --- a/src/mir/from_hir.cpp +++ b/src/mir/from_hir.cpp @@ -1533,7 +1533,7 @@ namespace { ASSERT_BUG(sp, it != tr.m_values.end(), "Cannot find trait item for " << node.m_path); TU_MATCHA( (it->second), (e), (Constant, - TODO(sp, "Associated constants - " << node.m_path); + m_builder.set_result( sp, ::MIR::Constant::make_ItemAddr(node.m_path.clone()) ); ), (Static, TODO(sp, "Associated statics (non-rustc) - " << node.m_path); |