summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-01 21:42:19 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-01 21:42:19 +0800
commit5967b5ac48e1fcb50ce673fc96691392e2ae2692 (patch)
tree940029692aaad862eb8e92d0a79e43fdbee35042 /src/hir/from_ast.cpp
parentd0bb03758d31dcba938e95bd2ee155bb798a9b70 (diff)
downloadmrust-5967b5ac48e1fcb50ce673fc96691392e2ae2692.tar.gz
HIR - Store and use annotations for CoerceUnsized (and prepare markings for other traits)
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index d80c1ed1..74697784 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -1313,6 +1313,7 @@ public:
}
auto sp = Span();
+ // - Store the lang item paths so conversion code can use them.
for( const auto& lang_item_path : crate.m_lang_items )
{
rv.m_lang_items.insert( ::std::make_pair(lang_item_path.first, LowerHIR_SimplePath(sp, lang_item_path.second)) );