summaryrefslogtreecommitdiff
path: root/src/hir/type.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-05-14 15:06:25 +0800
committerJohn Hodge <tpg@mutabah.net>2016-05-14 15:06:25 +0800
commitd70587b729f9f982e284681d5d16794cf7209e28 (patch)
treed1c539d2bd6d226dea5a7240734e6e495932e272 /src/hir/type.cpp
parentf043a45fd21bab906cafc8964a892a64def65ec9 (diff)
downloadmrust-d70587b729f9f982e284681d5d16794cf7209e28.tar.gz
HIR - Boilerplate code, compiles
Diffstat (limited to 'src/hir/type.cpp')
-rw-r--r--src/hir/type.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/hir/type.cpp b/src/hir/type.cpp
new file mode 100644
index 00000000..45e50e6e
--- /dev/null
+++ b/src/hir/type.cpp
@@ -0,0 +1,12 @@
+/*
+ */
+#include "type.hpp"
+
+namespace HIR {
+
+TypeRef::TypeRef(::HIR::Path path):
+ type( TypeRef::Data::make_Path(mv$(path)) )
+{
+}
+
+}