summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-01 19:05:14 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-01 19:05:14 +0800
commit35142acbe2deacf0cee3f92ed28e3beb01c22cd5 (patch)
tree87d07ea761ce4f4c973c417e8b0f4a6bbb1d13e0 /src/hir/from_ast.cpp
parent264bb4feab3e128db025a77f127b256ebf4f0e49 (diff)
downloadmrust-35142acbe2deacf0cee3f92ed28e3beb01c22cd5.tar.gz
Trans - Enumeration work structured out, vtables hacked in
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index f03f2000..5a758354 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -1002,6 +1002,9 @@ namespace {
)
}
+ // TODO: If this trait is object safe, build up the vtable (and vtable type)
+ // - Or do it in a pass?
+
rv.m_is_marker = f.is_marker();
return rv;